Build Information
Failed to build BitriseTrace with Swift 5.9 for Linux.
Build Command
bash -c 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.24.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/bitrise-io/trace-cocoa-sdk.git
Reference: 1.7.39
Cloned https://github.com/bitrise-io/trace-cocoa-sdk.git into /host/spi-builder-workspace
Revision (git rev-parse @):
SUCCESS checkout https://github.com/bitrise-io/trace-cocoa-sdk.git at 1.7.39
========================================
Build
========================================
Selected platform: linux
Swift version: 5.9
Building package at path: /host/spi-builder-workspace
Running build ...
bash -c 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
WARNING: No swap limit support
Building for debugging...
In file included from /host/spi-builder-workspace/TraceInternal/CrashReporting/Recording/KSCrashDoctor.m:9:
/host/spi-builder-workspace/TraceInternal/CrashReporting/Recording/KSCrashDoctor.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/64] Compiling TraceInternal_Recording KSCrashDoctor.m
[0/64] Compiling TraceInternal_Recording KSCrashReportFixer.c
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:207: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
[0/64] Compiling TraceInternal_Recording KSCrashC.c
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/KSCrashReport.c:32:
/host/spi-builder-workspace/TraceInternal/CrashReporting/Recording/Tools/KSDynamicLinker.h:116:43: error: unknown type name 'Dl_info'
bool ksdl_dladdr(const uintptr_t address, Dl_info* const info);
^
[0/64] Compiling TraceInternal_Recording KSCrashReport.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
Building for debugging...
In file included from /host/spi-builder-workspace/TraceInternal/CrashReporting/Recording/KSCrashDoctor.m:9:
/host/spi-builder-workspace/TraceInternal/CrashReporting/Recording/KSCrashDoctor.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/64] Compiling TraceInternal_Recording KSCrashDoctor.m
[0/64] Compiling TraceInternal_Recording KSCrashReportFixer.c
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:207: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
[0/64] Compiling TraceInternal_Recording KSCrashC.c
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/KSCrashReport.c:32:
/host/spi-builder-workspace/TraceInternal/CrashReporting/Recording/Tools/KSDynamicLinker.h:116:43: error: unknown type name 'Dl_info'
bool ksdl_dladdr(const uintptr_t address, Dl_info* const info);
^
[0/64] Compiling TraceInternal_Recording KSCrashReport.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
BUILD FAILURE 5.9 linux