Build Information
Failed to build xcframework-maker with Swift 5.9 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.22.5
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/darrarski/xcframework-maker.git
Reference: v1.1.0
Cloned https://github.com/darrarski/xcframework-maker.git into /host/spi-builder-workspace
Revision (git rev-parse @):
SUCCESS checkout https://github.com/darrarski/xcframework-maker.git at v1.1.0
========================================
Build
========================================
Selected platform: linux
Swift version: 5.9
Building package at path: /host/spi-builder-workspace
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Client: Docker Engine - Community
Version: 24.0.6
Context: default
Debug Mode: false
Plugins:
buildx: Docker Buildx (Docker Inc.)
Version: v0.11.2
Path: /usr/libexec/docker/cli-plugins/docker-buildx
compose: Docker Compose (Docker Inc.)
Version: v2.21.0
Path: /usr/libexec/docker/cli-plugins/docker-compose
Server:
Containers: 3
Running: 3
Paused: 0
Stopped: 0
Images: 6
Server Version: 24.0.2
Storage Driver: overlay2
Backing Filesystem: extfs
Supports d_type: true
Using metacopy: false
Native Overlay Diff: false
userxattr: false
Logging Driver: json-file
Cgroup Driver: cgroupfs
Cgroup Version: 1
Plugins:
Volume: local
Network: bridge host ipvlan macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
Swarm: inactive
Runtimes: runc io.containerd.runc.v2
Default Runtime: runc
Init Binary: docker-init
containerd version: 3dce8eb055cbb6872793272b4f20ed16117344f8
runc version: v1.1.7-0-g860f061
init version: de40ad0
Security Options:
apparmor
seccomp
Profile: builtin
Kernel Version: 5.4.0-1109-azure
Operating System: Ubuntu 18.04.6 LTS
OSType: linux
Architecture: x86_64
CPUs: 8
Total Memory: 31.36GiB
Name: lb2
ID: X5EK:3YD4:A3YZ:ZDGO:QKPP:IMHE:JW4M:LYD2:4EOG:KDF4:WDKJ:TGEE
Docker Root Dir: /var/lib/docker
Debug Mode: false
Labels:
provider=azure
Experimental: false
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false
Fetching https://github.com/darrarski/arm64-to-sim.git
Fetching https://github.com/JohnSundell/ShellOut.git
Fetching https://github.com/apple/swift-argument-parser.git
[2/72] Fetching arm64-to-sim
[73/1028] Fetching arm64-to-sim, shellout
[1029/12053] Fetching arm64-to-sim, shellout, swift-argument-parser
Fetched https://github.com/JohnSundell/ShellOut.git (0.77s)
Fetched https://github.com/darrarski/arm64-to-sim.git (0.77s)
Fetched https://github.com/apple/swift-argument-parser.git (0.77s)
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.43s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Computed https://github.com/JohnSundell/ShellOut.git at 2.3.0 (1.31s)
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.73s)
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...
[1/42] Compiling ArgumentParser Name.swift
[2/42] Compiling ArgumentParser Parsed.swift
[3/42] Compiling ArgumentParser ParsedValues.swift
[4/42] Compiling ArgumentParser ParserError.swift
[5/46] Compiling ArgumentParser ArgumentDefinition.swift
[6/46] Compiling ArgumentParser ArgumentSet.swift
[7/46] Compiling ArgumentParser CommandParser.swift
[8/46] Compiling ArgumentParser InputOrigin.swift
[9/46] Compiling ArgumentParser Option.swift
[10/46] Compiling ArgumentParser OptionGroup.swift
[11/46] Compiling ArgumentParser CommandConfiguration.swift
[12/46] Compiling ArgumentParser EnumerableFlag.swift
[13/46] Compiling ArgumentParser ExpressibleByArgument.swift
[14/46] Compiling ArgumentParser ParsableArguments.swift
[15/46] Compiling ArgumentParser ParsableArgumentsValidation.swift
[16/46] Compiling ArgumentParser ParsableCommand.swift
[17/46] Compiling ArgumentParser ArgumentDecoder.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[18/46] 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
^
[19/46] 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
^
[20/46] Compiling ArgumentParser ArgumentHelp.swift
[21/46] Compiling ArgumentParser CompletionKind.swift
[22/46] Compiling ArgumentParser Errors.swift
[23/46] Compiling ArgumentParser Flag.swift
[24/46] Compiling ArgumentParser NameSpecification.swift
[25/46] Emitting module ShellOut
[26/46] Compiling ShellOut ShellOut.swift
[27/46] Emitting module ArgumentParser
error: fatalError
[28/46] Compiling ArgumentParser BashCompletionsGenerator.swift
[29/46] Compiling ArgumentParser CompletionsGenerator.swift
[30/46] Compiling ArgumentParser FishCompletionsGenerator.swift
[31/46] Compiling ArgumentParser ZshCompletionsGenerator.swift
[32/46] Compiling ArgumentParser Argument.swift
BUILD FAILURE 5.9 linux