The Swift Package Index logo.Swift Package Index

Build Information

Failed to build BitriseTrace with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4609320-1":/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/bitrise-io/trace-cocoa-sdk.git
Reference: main
Cloned https://github.com/bitrise-io/trace-cocoa-sdk.git into spi-builder-workspace
SUCCESS checkout https://github.com/bitrise-io/trace-cocoa-sdk.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4609320-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Building for debugging...
/host/spi-builder-workspace/TraceInternal/Installations/BRObjectiveCOnlyLoad.m:9:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/64] Compiling TraceInternal BRObjectiveCOnlyLoad.m
In file included from /host/spi-builder-workspace/TraceInternal/Installations/BRLogger.m:9:
/host/spi-builder-workspace/TraceInternal/Installations/BRLogger.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/64] Compiling TraceInternal BRLogger.m
In file included from /host/spi-builder-workspace/TraceInternal/CrashReporting/Recording/KSCrash.m:28:
/host/spi-builder-workspace/TraceInternal/CrashReporting/Recording/KSCrash.h:28:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/64] Compiling TraceInternal_Recording KSCrash.m
In file included from /host/spi-builder-workspace/TraceInternal/CrashReporting/Recording/KSCrashCachedData.c:26:
In file included from /host/spi-builder-workspace/TraceInternal/CrashReporting/Recording/KSCrashCachedData.h:30:
/host/spi-builder-workspace/TraceInternal/CrashReporting/Recording/Tools/KSThread.h:39:9: error: unknown type name 'uintptr_t'; did you mean '__intptr_t'?
typedef uintptr_t KSThread;
        ^~~~~~~~~
        __intptr_t
/usr/include/x86_64-linux-gnu/bits/types.h:206:25: note: '__intptr_t' declared here
__STD_TYPE __SWORD_TYPE __intptr_t;
                        ^
/host/spi-builder-workspace/TraceInternal/CrashReporting/Recording/KSCrashCachedData.c:31:10: fatal error: 'mach/mach.h' file not found
#include <mach/mach.h>
         ^~~~~~~~~~~~~
[0/64] Compiling TraceInternal_Recording KSCrashCachedData.c
In file included from /host/spi-builder-workspace/TraceInternal/Installations/KSCrashInstallation.m:28:
/host/spi-builder-workspace/TraceInternal/Installations/KSCrashInstallation.h:28:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/64] Compiling TraceInternal KSCrashInstallation.m
[0/64] Compiling TraceInternal_Recording KSCrashC.c
[0/64] Compiling TraceInternal_Recording KSCrashDoctor.m
BUILD FAILURE 5.9 linux

Build Machine: Linux 2