The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ImpactMeterAdapter with Swift 5.7 for Linux.

Build Command

docker run --rm -v "checkouts-4609320-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.7-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.22.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ChimeHQ/ImpactMeterAdapter.git
Reference: main
Cloned https://github.com/ChimeHQ/ImpactMeterAdapter.git into spi-builder-workspace
SUCCESS checkout https://github.com/ChimeHQ/ImpactMeterAdapter.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.7
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4609320-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.7-latest swift build 2>&1
Fetching https://github.com/ChimeHQ/Meter
[1/550] Fetching meter
Fetched https://github.com/ChimeHQ/Meter (0.23s)
Fetching https://github.com/ChimeHQ/Impact.git
[1/741] Fetching impact
Fetched https://github.com/ChimeHQ/Impact.git (0.81s)
Computing version for https://github.com/ChimeHQ/Impact.git
Computed https://github.com/ChimeHQ/Impact.git at 0.3.1 (0.41s)
Creating working copy for https://github.com/ChimeHQ/Meter
Working copy of https://github.com/ChimeHQ/Meter resolved at main
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...
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.
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.
[0/23] Compiling ImpactDWARFParser.c
[0/23] Compiling Impact ImpactState.c
In file included from /host/spi-builder-workspace/.build/checkouts/Impact/Impact/ImpactThread.c:9:
In file included from /host/spi-builder-workspace/.build/checkouts/Impact/Impact/ImpactThread.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 Impact ImpactThread.c
In file included from /host/spi-builder-workspace/.build/checkouts/Impact/Impact/DWARF/ImpactDWARFCFIInstructions.c:9:
In file included from /host/spi-builder-workspace/.build/checkouts/Impact/Impact/DWARF/ImpactDWARFCFIInstructions.h:12:
/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/ImpactDWARFCFIInstructions.c:9:
In file included from /host/spi-builder-workspace/.build/checkouts/Impact/Impact/DWARF/ImpactDWARFCFIInstructions.h:13:
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 errors generated.
[0/23] Compiling ImpactDWARFCFIInstructions.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.
[0/23] 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.
[0/23] 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>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/23] Compiling Impact ImpactMonitor.m
BUILD FAILURE 5.7 linux

Build Machine: Linux 2