The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ImpactMeterAdapter with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4606859-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.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ChimeHQ/ImpactMeterAdapter.git
Reference: 0.1.1
Cloned https://github.com/ChimeHQ/ImpactMeterAdapter.git into spi-builder-workspace
SUCCESS checkout https://github.com/ChimeHQ/ImpactMeterAdapter.git at 0.1.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/ChimeHQ/Impact.git
Fetching https://github.com/ChimeHQ/Meter
[1/734] Fetching impact
[699/1218] Fetching impact, meter
Fetched https://github.com/ChimeHQ/Meter (0.25s)
Fetched https://github.com/ChimeHQ/Impact.git (0.25s)
Computing version for https://github.com/ChimeHQ/Impact.git
Computed https://github.com/ChimeHQ/Impact.git at 0.3.1 (0.99s)
Computing version for https://github.com/ChimeHQ/Meter
Computed https://github.com/ChimeHQ/Meter at 0.2.0 (0.38s)
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 0.2.0
Building for debugging...
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/22] Compiling ImpactDataCursor.c
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.
[0/22] Compiling Impact ImpactState.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/22] Compiling Impact ImpactBinaryImage.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.
[0/22] Compiling ImpactUtility.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>
         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/22] Compiling ImpactDWARFParser.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/22] Compiling ImpactDWARFCFIInstructions.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.
[0/22] Compiling Impact ImpactMonitor.m
BUILD FAILURE 5.9 linux

Build Machine: Linux 1