The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ImpactMeterAdapter with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-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/ChimeHQ/ImpactMeterAdapter.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/ChimeHQ/ImpactMeterAdapter
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at f78605c funding
Cloned https://github.com/ChimeHQ/ImpactMeterAdapter.git
Revision (git rev-parse @):
f78605c1c9adf5e05a674aa6167403650d16e293
SUCCESS checkout https://github.com/ChimeHQ/ImpactMeterAdapter.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/ChimeHQ/ImpactMeterAdapter.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/ChimeHQ/Meter
[1/569] Fetching meter
Fetched https://github.com/ChimeHQ/Meter from cache (0.38s)
Fetching https://github.com/ChimeHQ/Impact.git
[1/741] Fetching impact
Fetched https://github.com/ChimeHQ/Impact.git from cache (0.21s)
Computing version for https://github.com/ChimeHQ/Impact.git
Computed https://github.com/ChimeHQ/Impact.git at 0.3.1 (0.42s)
Creating working copy for https://github.com/ChimeHQ/Impact.git
Working copy of https://github.com/ChimeHQ/Impact.git resolved at 0.3.1
Creating working copy for https://github.com/ChimeHQ/Meter
Working copy of https://github.com/ChimeHQ/Meter resolved at main (e0158ca)
Building for debugging...
[0/26] Write sources
In file included from /host/spi-builder-workspace/.build/checkouts/Impact/Impact/Utility/ImpactCPU.c:9:
In file included from /host/spi-builder-workspace/.build/checkouts/Impact/Impact/Utility/ImpactCPU.h:15:
In file included from /host/spi-builder-workspace/.build/checkouts/Impact/Impact/ImpactState.h:12:
In file included from /host/spi-builder-workspace/.build/checkouts/Impact/Impact/Utility/ImpactDebug.h:13:
/host/spi-builder-workspace/.build/checkouts/Impact/Impact/Utility/ImpactPointer.h:15:10: fatal error: 'mach/machine/vm_types.h' file not found
#include <mach/machine/vm_types.h>
         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[2/26] Compiling ImpactCPU.c
In file included from /host/spi-builder-workspace/.build/checkouts/Impact/Impact/Utility/ImpactUtility.c:9:
In file included from /host/spi-builder-workspace/.build/checkouts/Impact/Impact/Utility/ImpactUtility.h:12:
/host/spi-builder-workspace/.build/checkouts/Impact/Impact/Utility/ImpactPointer.h:15:10: fatal error: 'mach/machine/vm_types.h' file not found
#include <mach/machine/vm_types.h>
         ^~~~~~~~~~~~~~~~~~~~~~~~~
[2/26] Compiling ImpactUtility.c
In file included from /host/spi-builder-workspace/.build/checkouts/Impact/Impact/Unwind/ImpactUnwind_x86_64.c:9:
In file included from /host/spi-builder-workspace/.build/checkouts/Impact/Impact/Unwind/ImpactCompactUnwind.h:13:
In file included from /host/spi-builder-workspace/.build/checkouts/Impact/Impact/Utility/ImpactCPU.h:15:
In file included from /host/spi-builder-workspace/.build/checkouts/Impact/Impact/ImpactState.h:12:
In file included from /host/spi-builder-workspace/.build/checkouts/Impact/Impact/Utility/ImpactDebug.h:13:
/host/spi-builder-workspace/.build/checkouts/Impact/Impact/Utility/ImpactPointer.h:15:10: fatal error: 'mach/machine/vm_types.h' file not found
#include <mach/machine/vm_types.h>
         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[2/26] Compiling ImpactUnwind_x86_64.c
In file included from /host/spi-builder-workspace/.build/checkouts/Impact/Impact/Utility/ImpactLog.m:9:
In file included from /host/spi-builder-workspace/.build/checkouts/Impact/Impact/Utility/ImpactLog.h:13:
In file included from /host/spi-builder-workspace/.build/checkouts/Impact/Impact/ImpactState.h:12:
In file included from /host/spi-builder-workspace/.build/checkouts/Impact/Impact/Utility/ImpactDebug.h:13:
/host/spi-builder-workspace/.build/checkouts/Impact/Impact/Utility/ImpactPointer.h:15:10: fatal error: 'mach/machine/vm_types.h' file not found
#include <mach/machine/vm_types.h>
         ^~~~~~~~~~~~~~~~~~~~~~~~~
[2/26] Compiling ImpactLog.m
In file included from /host/spi-builder-workspace/.build/checkouts/Impact/Impact/Unwind/ImpactUnwind_i386.c:9:
In file included from /host/spi-builder-workspace/.build/checkouts/Impact/Impact/Unwind/ImpactCompactUnwind.h:13:
In file included from /host/spi-builder-workspace/.build/checkouts/Impact/Impact/Utility/ImpactCPU.h:15:
In file included from /host/spi-builder-workspace/.build/checkouts/Impact/Impact/ImpactState.h:12:
In file included from /host/spi-builder-workspace/.build/checkouts/Impact/Impact/Utility/ImpactDebug.h:13:
/host/spi-builder-workspace/.build/checkouts/Impact/Impact/Utility/ImpactPointer.h:15:10: fatal error: 'mach/machine/vm_types.h' file not found
#include <mach/machine/vm_types.h>
         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[2/26] Compiling ImpactUnwind_i386.c
In file included from /host/spi-builder-workspace/.build/checkouts/Impact/Impact/DWARF/ImpactDataCursor.c:9:
/host/spi-builder-workspace/.build/checkouts/Impact/Impact/DWARF/ImpactDataCursor.h:32:66: error: unknown type name 'size_t'
ImpactResult ImpactDataCursorReadValue(ImpactDataCursor* cursor, size_t size, void* value);
                                                                 ^
In file included from /host/spi-builder-workspace/.build/checkouts/Impact/Impact/DWARF/ImpactDataCursor.c:10:
In file included from /host/spi-builder-workspace/.build/checkouts/Impact/Impact/Utility/ImpactUtility.h:12:
/host/spi-builder-workspace/.build/checkouts/Impact/Impact/Utility/ImpactPointer.h:15:10: fatal error: 'mach/machine/vm_types.h' file not found
#include <mach/machine/vm_types.h>
         ^~~~~~~~~~~~~~~~~~~~~~~~~
[2/26] Compiling ImpactDataCursor.c
In file included from /host/spi-builder-workspace/.build/checkouts/Impact/Impact/DWARF/ImpactDWARFParser.c:9:
In file included from /host/spi-builder-workspace/.build/checkouts/Impact/Impact/DWARF/ImpactDWARFParser.h:12:
In file included from /host/spi-builder-workspace/.build/checkouts/Impact/Impact/DWARF/ImpactDWARF.h:14:
In file included from /host/spi-builder-workspace/.build/checkouts/Impact/Impact/ImpactBinaryImage.h:12:
In file included from /host/spi-builder-workspace/.build/checkouts/Impact/Impact/ImpactState.h:12:
In file included from /host/spi-builder-workspace/.build/checkouts/Impact/Impact/Utility/ImpactDebug.h:13:
/host/spi-builder-workspace/.build/checkouts/Impact/Impact/Utility/ImpactPointer.h:15:10: fatal error: 'mach/machine/vm_types.h' file not found
#include <mach/machine/vm_types.h>
         ^~~~~~~~~~~~~~~~~~~~~~~~~
[2/26] Compiling ImpactDWARFParser.c
[2/26] Write swift-version-24593BA9C3E375BF.txt
[0/1] Planning build
Building for debugging...
/host/spi-builder-workspace/.build/checkouts/Meter/Sources/BinaryImage/BinaryImage.m:1:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/24] Compiling BinaryImage BinaryImage.m
In file included from /host/spi-builder-workspace/.build/checkouts/Impact/Impact/Utility/ImpactCPU.c:9:
In file included from /host/spi-builder-workspace/.build/checkouts/Impact/Impact/Utility/ImpactCPU.h:15:
In file included from /host/spi-builder-workspace/.build/checkouts/Impact/Impact/ImpactState.h:12:
In file included from /host/spi-builder-workspace/.build/checkouts/Impact/Impact/Utility/ImpactDebug.h:13:
/host/spi-builder-workspace/.build/checkouts/Impact/Impact/Utility/ImpactPointer.h:15:10: fatal error: 'mach/machine/vm_types.h' file not found
#include <mach/machine/vm_types.h>
         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/24] Compiling ImpactCPU.c
In file included from /host/spi-builder-workspace/.build/checkouts/Impact/Impact/Unwind/ImpactUnwind_x86_64.c:9:
In file included from /host/spi-builder-workspace/.build/checkouts/Impact/Impact/Unwind/ImpactCompactUnwind.h:13:
In file included from /host/spi-builder-workspace/.build/checkouts/Impact/Impact/Utility/ImpactCPU.h:15:
In file included from /host/spi-builder-workspace/.build/checkouts/Impact/Impact/ImpactState.h:12:
In file included from /host/spi-builder-workspace/.build/checkouts/Impact/Impact/Utility/ImpactDebug.h:13:
/host/spi-builder-workspace/.build/checkouts/Impact/Impact/Utility/ImpactPointer.h:15:10: fatal error: 'mach/machine/vm_types.h' file not found
#include <mach/machine/vm_types.h>
         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/24] Compiling ImpactUnwind_x86_64.c
In file included from /host/spi-builder-workspace/.build/checkouts/Impact/Impact/Unwind/ImpactUnwind_i386.c:9:
In file included from /host/spi-builder-workspace/.build/checkouts/Impact/Impact/Unwind/ImpactCompactUnwind.h:13:
In file included from /host/spi-builder-workspace/.build/checkouts/Impact/Impact/Utility/ImpactCPU.h:15:
In file included from /host/spi-builder-workspace/.build/checkouts/Impact/Impact/ImpactState.h:12:
In file included from /host/spi-builder-workspace/.build/checkouts/Impact/Impact/Utility/ImpactDebug.h:13:
/host/spi-builder-workspace/.build/checkouts/Impact/Impact/Utility/ImpactPointer.h:15:10: fatal error: 'mach/machine/vm_types.h' file not found
#include <mach/machine/vm_types.h>
         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/24] Compiling ImpactUnwind_i386.c
In file included from /host/spi-builder-workspace/.build/checkouts/Impact/Impact/Unwind/ImpactUnwind_arm64.c:9:
In file included from /host/spi-builder-workspace/.build/checkouts/Impact/Impact/Unwind/ImpactCompactUnwind.h:13:
In file included from /host/spi-builder-workspace/.build/checkouts/Impact/Impact/Utility/ImpactCPU.h:15:
In file included from /host/spi-builder-workspace/.build/checkouts/Impact/Impact/ImpactState.h:12:
In file included from /host/spi-builder-workspace/.build/checkouts/Impact/Impact/Utility/ImpactDebug.h:13:
/host/spi-builder-workspace/.build/checkouts/Impact/Impact/Utility/ImpactPointer.h:15:10: fatal error: 'mach/machine/vm_types.h' file not found
#include <mach/machine/vm_types.h>
         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/24] Compiling ImpactUnwind_arm64.c
In file included from /host/spi-builder-workspace/.build/checkouts/Impact/Impact/Utility/ImpactLog.m:9:
In file included from /host/spi-builder-workspace/.build/checkouts/Impact/Impact/Utility/ImpactLog.h:13:
In file included from /host/spi-builder-workspace/.build/checkouts/Impact/Impact/ImpactState.h:12:
In file included from /host/spi-builder-workspace/.build/checkouts/Impact/Impact/Utility/ImpactDebug.h:13:
/host/spi-builder-workspace/.build/checkouts/Impact/Impact/Utility/ImpactPointer.h:15:10: fatal error: 'mach/machine/vm_types.h' file not found
#include <mach/machine/vm_types.h>
         ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /host/spi-builder-workspace/.build/checkouts/Impact/Impact/Utility/ImpactUtility.c:9:
In file included from /host/spi-builder-workspace/.build/checkouts/Impact/Impact/Utility/ImpactUtility.h:12:
/host/spi-builder-workspace/.build/checkouts/Impact/Impact/Utility/ImpactPointer.h:15:10: fatal error: 'mach/machine/vm_types.h' file not found
#include <mach/machine/vm_types.h>
         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/24] Compiling ImpactLog.m
[0/24] Compiling ImpactUtility.c
In file included from /host/spi-builder-workspace/.build/checkouts/Impact/Impact/Unwind/ImpactUnwind_arm.c:9:
In file included from /host/spi-builder-workspace/.build/checkouts/Impact/Impact/Unwind/ImpactCompactUnwind.h:13:
In file included from /host/spi-builder-workspace/.build/checkouts/Impact/Impact/Utility/ImpactCPU.h:15:
In file included from /host/spi-builder-workspace/.build/checkouts/Impact/Impact/ImpactState.h:12:
In file included from /host/spi-builder-workspace/.build/checkouts/Impact/Impact/Utility/ImpactDebug.h:13:
/host/spi-builder-workspace/.build/checkouts/Impact/Impact/Utility/ImpactPointer.h:15:10: fatal error: 'mach/machine/vm_types.h' file not found
#include <mach/machine/vm_types.h>
         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/24] Compiling ImpactUnwind_arm.c
BUILD FAILURE 5.10 linux

Build Machine: Linux 1