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-1":/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: v1.1.0
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
 * tag               v1.1.0     -> FETCH_HEAD
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 v1.1.0
========================================
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-1":/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/JohnSundell/ShellOut.git
Fetching https://github.com/darrarski/arm64-to-sim.git
[1/72] Fetching arm64-to-sim
[67/1028] Fetching arm64-to-sim, shellout
[1023/12454] Fetching arm64-to-sim, shellout, swift-argument-parser
Fetched https://github.com/JohnSundell/ShellOut.git from cache (1.17s)
Fetched https://github.com/darrarski/arm64-to-sim.git from cache (1.17s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.17s)
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.49s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Computed https://github.com/JohnSundell/ShellOut.git at 2.3.0 (1.34s)
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.50s)
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
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/darrarski/arm64-to-sim.git
Working copy of https://github.com/darrarski/arm64-to-sim.git resolved at 1.0.0
Building for debugging...
[0/13] Write sources
[5/13] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/49] 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
       ^
[8/49] Compiling ArgumentParser Option.swift
[9/49] Compiling ArgumentParser OptionGroup.swift
[10/49] Compiling ArgumentParser CommandConfiguration.swift
[11/49] Compiling ArgumentParser EnumerableFlag.swift
[12/49] Compiling ArgumentParser ExpressibleByArgument.swift
[13/53] Compiling ArgumentParser Name.swift
[14/53] Compiling ArgumentParser Parsed.swift
[15/53] Compiling ArgumentParser ParsedValues.swift
[16/53] Compiling ArgumentParser ParserError.swift
[17/53] Compiling ArgumentParser ArgumentDefinition.swift
[18/53] Compiling ArgumentParser ArgumentSet.swift
[19/53] Compiling ArgumentParser CommandParser.swift
[20/53] Compiling ArgumentParser InputOrigin.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: fatalError
[22/53] Compiling ArgumentParser SplitArguments.swift
[23/53] Compiling ArgumentParser HelpCommand.swift
[24/53] Compiling ArgumentParser HelpGenerator.swift
[25/53] Compiling ArgumentParser MessageInfo.swift
[26/53] Emitting module ArgumentParser
[27/53] Emitting module ShellOut
[0/1] Planning build
Building for debugging...
[0/8] Write swift-version-24593BA9C3E375BF.txt
[2/29] Emitting module ShellOut
[3/29] Compiling ShellOut ShellOut.swift
[4/30] Wrapping AST for ShellOut for debugging
[6/30] Compiling ArgumentParser ParsableCommand.swift
[7/30] Compiling ArgumentParser ArgumentDecoder.swift
[8/32] Compiling ArgumentParser BashCompletionsGenerator.swift
[9/32] Compiling ArgumentParser CompletionsGenerator.swift
[10/32] Compiling ArgumentParser FishCompletionsGenerator.swift
[11/33] Compiling ArgumentParser ParsableArguments.swift
[12/33] Compiling ArgumentParser ParsableArgumentsValidation.swift
[13/33] Emitting module ArgumentParser
[14/35] Compiling ArgumentParser Flag.swift
[15/35] Compiling ArgumentParser NameSpecification.swift
[16/35] Compiling ArgumentParser CompletionKind.swift
[17/35] Compiling ArgumentParser Errors.swift
[18/35] Compiling ArgumentParser ZshCompletionsGenerator.swift
[19/35] Compiling ArgumentParser Argument.swift
[20/35] Compiling ArgumentParser ArgumentHelp.swift
[21/35] Compiling ArgumentParser UsageGenerator.swift
[22/35] Compiling ArgumentParser SequenceExtensions.swift
[23/39] Compiling ArgumentParser OptionGroup.swift
[24/41] Compiling ArgumentParser MessageInfo.swift
[25/43] Compiling ArgumentParser StringExtensions.swift
[26/43] Compiling ArgumentParser Tree.swift
[27/44] Compiling ArgumentParser CommandConfiguration.swift
[28/44] Compiling ArgumentParser CommandParser.swift
[29/46] Compiling ArgumentParser Option.swift
[30/46] Compiling ArgumentParser EnumerableFlag.swift
[31/47] Compiling ArgumentParser HelpCommand.swift
[32/47] Compiling ArgumentParser Parsed.swift
[33/47] Compiling ArgumentParser HelpGenerator.swift
[34/49] Compiling ArgumentParser ParsedValues.swift
[35/49] Compiling ArgumentParser Name.swift
[36/49] Compiling ArgumentParser InputOrigin.swift
[37/49] Compiling ArgumentParser ExpressibleByArgument.swift
[38/49] Compiling ArgumentParser ArgumentDefinition.swift
[39/49] Compiling ArgumentParser ArgumentSet.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[40/49] 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
       ^
[41/49] 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
[42/49] Compiling ArgumentParser ParserError.swift
BUILD FAILURE 5.10 linux

Build Machine: Linux 2