The Swift Package Index logo.Swift Package Index

Build Information

Failed to build xcframework-maker with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-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/darrarski/xcframework-maker.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/darrarski/xcframework-maker
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at f59c1c4 Add docs to Log action
Cloned https://github.com/darrarski/xcframework-maker.git
Revision (git rev-parse @):
f59c1c46f09a7602d444e2222b8bfc1c25da5bf7
SUCCESS checkout https://github.com/darrarski/xcframework-maker.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/darrarski/xcframework-maker.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-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.git
Fetching https://github.com/darrarski/arm64-to-sim.git
Fetching https://github.com/JohnSundell/ShellOut.git
[1/72] Fetching arm64-to-sim
[73/1028] Fetching arm64-to-sim, shellout
Fetched https://github.com/darrarski/arm64-to-sim.git from cache (0.44s)
Fetched https://github.com/JohnSundell/ShellOut.git from cache (0.44s)
[1/11426] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.22s)
Computing version for https://github.com/darrarski/arm64-to-sim.git
Computed https://github.com/darrarski/arm64-to-sim.git at 1.0.0 (0.82s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Computed https://github.com/JohnSundell/ShellOut.git at 2.3.0 (2.17s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 0.4.3 (0.53s)
Creating working copy for https://github.com/darrarski/arm64-to-sim.git
Working copy of https://github.com/darrarski/arm64-to-sim.git resolved at 1.0.0
Creating working copy for https://github.com/JohnSundell/ShellOut.git
Working copy of https://github.com/JohnSundell/ShellOut.git resolved at 2.3.0
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 0.4.3
Building for debugging...
[0/13] Write sources
[5/13] Write swift-version-24593BA9C3E375BF.txt
[7/49] Emitting module ArgumentParser
[8/53] Compiling ArgumentParser Name.swift
[9/53] Compiling ArgumentParser Parsed.swift
[10/53] Compiling ArgumentParser ParsedValues.swift
[11/53] Compiling ArgumentParser ParserError.swift
[12/53] Compiling ArgumentParser Option.swift
[13/53] Compiling ArgumentParser OptionGroup.swift
[14/53] Compiling ArgumentParser CommandConfiguration.swift
[15/53] Compiling ArgumentParser EnumerableFlag.swift
[16/53] Compiling ArgumentParser ExpressibleByArgument.swift
[17/53] Compiling ArgumentParser UsageGenerator.swift
[18/53] Compiling ArgumentParser SequenceExtensions.swift
[19/53] Compiling ArgumentParser StringExtensions.swift
[20/53] Compiling ArgumentParser Tree.swift
[21/53] Compiling Arm64ToSim Arm64ToSim.swift
/host/spi-builder-workspace/.build/checkouts/arm64-to-sim/Sources/Arm64ToSim/Arm64ToSim.swift:2:8: error: no such module 'MachO'
import MachO
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[22/53] Emitting module Arm64ToSim
/host/spi-builder-workspace/.build/checkouts/arm64-to-sim/Sources/Arm64ToSim/Arm64ToSim.swift:2:8: error: no such module 'MachO'
import MachO
       ^
[23/53] Compiling ArgumentParser ArgumentDefinition.swift
[24/53] Compiling ArgumentParser ArgumentSet.swift
[25/53] Compiling ArgumentParser CommandParser.swift
[26/53] Compiling ArgumentParser InputOrigin.swift
[27/53] Compiling ArgumentParser ParsableArguments.swift
[28/53] Compiling ArgumentParser ParsableArgumentsValidation.swift
[29/53] Compiling ArgumentParser ParsableCommand.swift
[30/53] Compiling ArgumentParser ArgumentDecoder.swift
[31/53] Compiling ArgumentParser SplitArguments.swift
[32/53] Compiling ArgumentParser HelpCommand.swift
[33/53] Compiling ArgumentParser HelpGenerator.swift
[34/53] Compiling ArgumentParser MessageInfo.swift
error: fatalError
[35/53] Compiling ArgumentParser BashCompletionsGenerator.swift
[36/53] Compiling ArgumentParser CompletionsGenerator.swift
[37/53] Compiling ArgumentParser FishCompletionsGenerator.swift
[38/53] Compiling ArgumentParser ZshCompletionsGenerator.swift
[39/53] Compiling ArgumentParser Argument.swift
[40/53] Emitting module ShellOut
[0/1] Planning build
Building for debugging...
[0/8] Write swift-version-24593BA9C3E375BF.txt
[2/18] Compiling ArgumentParser ArgumentHelp.swift
[3/18] Compiling ArgumentParser CompletionKind.swift
[4/18] Compiling ArgumentParser Errors.swift
[5/29] Compiling ArgumentParser NameSpecification.swift
[6/31] Emitting module ShellOut
[7/31] Compiling ShellOut ShellOut.swift
[9/32] Compiling ArgumentParser Flag.swift
[9/34] Wrapping AST for ShellOut for debugging
[11/34] Emitting module ArgumentParser
[12/36] Compiling ArgumentParser BashCompletionsGenerator.swift
[13/36] Compiling ArgumentParser CompletionsGenerator.swift
[14/36] Compiling ArgumentParser FishCompletionsGenerator.swift
[15/37] Compiling ArgumentParser ZshCompletionsGenerator.swift
[16/37] Compiling ArgumentParser Argument.swift
[17/37] Compiling ArgumentParser EnumerableFlag.swift
[18/37] Compiling ArgumentParser ParsableArguments.swift
[19/37] Compiling ArgumentParser Option.swift
[20/37] Compiling ArgumentParser OptionGroup.swift
[21/37] Compiling ArgumentParser ParsableArgumentsValidation.swift
[22/37] Compiling ArgumentParser ArgumentDefinition.swift
[23/40] Compiling ArgumentParser ExpressibleByArgument.swift
[24/40] Compiling ArgumentParser HelpCommand.swift
[25/40] Compiling ArgumentParser HelpGenerator.swift
[26/40] Compiling ArgumentParser ArgumentSet.swift
[27/40] Compiling ArgumentParser CommandParser.swift
[28/40] Compiling ArgumentParser CommandConfiguration.swift
[29/40] Compiling ArgumentParser ParsableCommand.swift
[30/40] Compiling ArgumentParser Tree.swift
[31/40] Compiling ArgumentParser MessageInfo.swift
[32/40] Compiling ArgumentParser UsageGenerator.swift
[33/41] Wrapping AST for ArgumentParser for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[35/41] Emitting module Arm64ToSim
/host/spi-builder-workspace/.build/checkouts/arm64-to-sim/Sources/Arm64ToSim/Arm64ToSim.swift:2:8: error: no such module 'MachO'
import MachO
       ^
[36/41] Compiling Arm64ToSim Arm64ToSim.swift
/host/spi-builder-workspace/.build/checkouts/arm64-to-sim/Sources/Arm64ToSim/Arm64ToSim.swift:2:8: error: no such module 'MachO'
import MachO
       ^
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 2