The Swift Package Index logo.Swift Package Index

Build Information

Failed to build MetalCompilerPlugin with Swift 5.9 for Linux.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.25.3
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 9979f81 Merge pull request #1 from capnslipp/patch-1
Cloned https://github.com/schwa/MetalCompilerPlugin.git
Revision (git rev-parse @):
9979f8175fc95e5d72ab29fc7ffc3eece08b0609
SUCCESS checkout https://github.com/schwa/MetalCompilerPlugin.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  $PWD/checkout
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/apple/swift-argument-parser
[1/11040] Fetching swift-argument-parser
Computing version for https://github.com/apple/swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser (0.76s)
Computed https://github.com/apple/swift-argument-parser at 1.1.4 (0.43s)
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...
[1/6] Emitting module ArgumentParserToolInfo
[2/6] Compiling ArgumentParserToolInfo ToolInfo.swift
[4/8] Wrapping AST for ArgumentParserToolInfo for debugging
[6/44] Emitting module ArgumentParser
[7/48] Compiling ArgumentParser CollectionExtensions.swift
[8/48] Compiling ArgumentParser SequenceExtensions.swift
[9/48] Compiling ArgumentParser StringExtensions.swift
[10/48] Compiling ArgumentParser Tree.swift
[11/48] Compiling ArgumentParser Name.swift
[12/48] Compiling ArgumentParser Parsed.swift
[13/48] Compiling ArgumentParser ParsedValues.swift
[14/48] Compiling ArgumentParser ParserError.swift
[15/48] Compiling ArgumentParser SplitArguments.swift
[16/48] Compiling ArgumentParser ArgumentDecoder.swift
[17/48] Compiling ArgumentParser ArgumentDefinition.swift
[18/48] Compiling ArgumentParser ArgumentSet.swift
[19/48] Compiling ArgumentParser CommandParser.swift
[20/48] Compiling ArgumentParser InputOrigin.swift
[21/48] Compiling ArgumentParser NameSpecification.swift
[22/48] Compiling ArgumentParser Option.swift
[23/48] Compiling ArgumentParser OptionGroup.swift
[24/48] Compiling ArgumentParser AsyncParsableCommand.swift
[25/48] Compiling ArgumentParser CommandConfiguration.swift
[26/48] Compiling ArgumentParser ArgumentHelp.swift
[27/48] Compiling ArgumentParser ArgumentVisibility.swift
[28/48] Compiling ArgumentParser CompletionKind.swift
[29/48] Compiling ArgumentParser Errors.swift
[30/48] Compiling ArgumentParser Flag.swift
[31/48] Compiling ArgumentParser BashCompletionsGenerator.swift
[32/48] Compiling ArgumentParser CompletionsGenerator.swift
[33/48] Compiling ArgumentParser FishCompletionsGenerator.swift
[34/48] Compiling ArgumentParser ZshCompletionsGenerator.swift
[35/48] Compiling ArgumentParser Argument.swift
[36/48] Compiling ArgumentParser EnumerableFlag.swift
[37/48] Compiling ArgumentParser ExpressibleByArgument.swift
[38/48] Compiling ArgumentParser ParsableArguments.swift
[39/48] Compiling ArgumentParser ParsableArgumentsValidation.swift
[40/48] Compiling ArgumentParser ParsableCommand.swift
[41/48] Compiling ArgumentParser DumpHelpGenerator.swift
[42/48] Compiling ArgumentParser HelpCommand.swift
[43/48] Compiling ArgumentParser HelpGenerator.swift
[44/48] Compiling ArgumentParser MessageInfo.swift
[45/48] Compiling ArgumentParser UsageGenerator.swift
[47/50] Wrapping AST for ArgumentParser for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[49/52] Emitting module MetalCompilerTool
/host/spi-builder-workspace/Sources/MetalCompilerTool/MetalCompiler.swift:3:8: error: no such module 'os'
import os
       ^
[50/52] 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...
[1/5] Emitting module ArgumentParserToolInfo
[3/7] Wrapping AST for ArgumentParserToolInfo for debugging
[5/8] Emitting module ArgumentParser
[7/10] Wrapping AST for ArgumentParser for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/12] Emitting module MetalCompilerTool
/host/spi-builder-workspace/Sources/MetalCompilerTool/MetalCompiler.swift:3:8: error: no such module 'os'
import os
       ^
[10/12] 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.9 linux

Build Machine: Linux 2