Build Information
Failed to build MetalCompilerPlugin, reference 0.0.3 (8eee0b
), with Swift 5.9 for Linux on 29 Jul 2024 22:47:48 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.48.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/schwa/MetalCompilerPlugin.git
Reference: 0.0.3
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.3 -> FETCH_HEAD
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 0.0.3
========================================
Build
========================================
Selected platform: linux
Swift version: 5.9
Building package at path: $PWD
https://github.com/schwa/MetalCompilerPlugin.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:ab95bcf8ae8f59ab6d4725f4fd8a1a6162581ba0800402e498200829aee2a822
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Fetching https://github.com/apple/swift-argument-parser
[1/12086] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser (0.63s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.1.4 (0.35s)
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 ArgumentHelp.swift
[12/48] Compiling ArgumentParser ArgumentVisibility.swift
[13/48] Compiling ArgumentParser CompletionKind.swift
[14/48] Compiling ArgumentParser Errors.swift
[15/48] Compiling ArgumentParser Flag.swift
[16/48] Compiling ArgumentParser BashCompletionsGenerator.swift
[17/48] Compiling ArgumentParser CompletionsGenerator.swift
[18/48] Compiling ArgumentParser FishCompletionsGenerator.swift
[19/48] Compiling ArgumentParser ZshCompletionsGenerator.swift
[20/48] Compiling ArgumentParser Argument.swift
[21/48] Compiling ArgumentParser EnumerableFlag.swift
[22/48] Compiling ArgumentParser ExpressibleByArgument.swift
[23/48] Compiling ArgumentParser ParsableArguments.swift
[24/48] Compiling ArgumentParser ParsableArgumentsValidation.swift
[25/48] Compiling ArgumentParser ParsableCommand.swift
[26/48] Compiling ArgumentParser NameSpecification.swift
[27/48] Compiling ArgumentParser Option.swift
[28/48] Compiling ArgumentParser OptionGroup.swift
[29/48] Compiling ArgumentParser AsyncParsableCommand.swift
[30/48] Compiling ArgumentParser CommandConfiguration.swift
[31/48] Compiling ArgumentParser ArgumentDecoder.swift
[32/48] Compiling ArgumentParser ArgumentDefinition.swift
[33/48] Compiling ArgumentParser ArgumentSet.swift
[34/48] Compiling ArgumentParser CommandParser.swift
[35/48] Compiling ArgumentParser InputOrigin.swift
[36/48] Compiling ArgumentParser Name.swift
[37/48] Compiling ArgumentParser Parsed.swift
[38/48] Compiling ArgumentParser ParsedValues.swift
[39/48] Compiling ArgumentParser ParserError.swift
[40/48] Compiling ArgumentParser SplitArguments.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
BUILD FAILURE 5.9 linux