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-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/ChimeHQ/ImpactMeterAdapter.git
Reference: 0.1.1
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
 * tag               0.1.1      -> FETCH_HEAD
HEAD is now at b63fb4e Version bump
Submodule path 'xcconfigs': checked out '90aae8c60a57e10604288ae5a0b348ef83e50d83'
Submodule 'xcconfigs' (https://github.com/mrackwitz/xcconfigs.git) registered for path 'xcconfigs'
Cloning into '/host/spi-builder-workspace/xcconfigs'...
Cloned https://github.com/ChimeHQ/ImpactMeterAdapter.git
Revision (git rev-parse @):
b63fb4e912ffcef6db62eb8dd066cb04fb6c39be
SUCCESS checkout https://github.com/ChimeHQ/ImpactMeterAdapter.git at 0.1.1
========================================
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-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/ChimeHQ/Impact.git
Fetching https://github.com/ChimeHQ/Meter
[1/741] Fetching impact
[698/1310] Fetching impact, meter
Fetched https://github.com/ChimeHQ/Meter from cache (0.25s)
Fetched https://github.com/ChimeHQ/Impact.git from cache (0.25s)
Computing version for https://github.com/ChimeHQ/Impact.git
Computed https://github.com/ChimeHQ/Impact.git at 0.3.1 (0.65s)
Computing version for https://github.com/ChimeHQ/Meter
Computed https://github.com/ChimeHQ/Meter at 0.2.0 (0.41s)
Creating working copy for https://github.com/ChimeHQ/Meter
Working copy of https://github.com/ChimeHQ/Meter resolved at 0.2.0
Creating working copy for https://github.com/ChimeHQ/Impact.git
Working copy of https://github.com/ChimeHQ/Impact.git resolved at 0.3.1
Building for debugging...
[0/25] Write sources
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>
         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[2/25] Compiling ImpactLog.m
In file included from /host/spi-builder-workspace/.build/checkouts/Impact/Impact/ImpactState.c:9:
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/25] Compiling Impact ImpactState.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>
         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
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>
         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[2/25] Compiling ImpactUtility.c
[2/25] Compiling ImpactDWARFParser.c
In file included from /host/spi-builder-workspace/.build/checkouts/Impact/Impact/ImpactBinaryImage.c:9:
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>
         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[2/25] Compiling Impact ImpactBinaryImage.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 errors generated.
[2/25] Compiling ImpactDataCursor.c
In file included from /host/spi-builder-workspace/.build/checkouts/Impact/Impact/ImpactMonitor.m:9:
/host/spi-builder-workspace/.build/checkouts/Impact/Impact/ImpactMonitor.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[2/25] Compiling Impact ImpactMonitor.m
[2/25] Write swift-version-24593BA9C3E375BF.txt
[0/1] Planning build
Building for debugging...
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>
         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/23] Compiling ImpactUtility.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>
         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/23] Compiling ImpactLog.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>
         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/23] Compiling ImpactCPU.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>
         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/23] Compiling ImpactUnwind_arm.c
In file included from /host/spi-builder-workspace/.build/checkouts/Impact/Impact/Unwind/ImpactUnwind.c:9:
In file included from /host/spi-builder-workspace/.build/checkouts/Impact/Impact/Unwind/ImpactUnwind.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.
[0/23] Compiling ImpactUnwind.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/23] Compiling ImpactUnwind_i386.c
[0/23] Compiling ImpactUnwind_x86_64.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/23] Compiling ImpactUnwind_arm64.c
BUILD FAILURE 5.10 linux

Build Machine: Linux 1