The Swift Package Index logo.Swift Package Index

Build Information

Failed to build raygun4apple with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-0":/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/MindscapeHQ/raygun4apple.git
Reference: 2.0.0
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/MindscapeHQ/raygun4apple
 * tag               2.0.0      -> FETCH_HEAD
HEAD is now at 6f62955 Merge pull request #48 from MindscapeHQ/cm/creation-of-swift-package
Cloned https://github.com/MindscapeHQ/raygun4apple.git
Revision (git rev-parse @):
6f629551d81bebc5985b2529d649897511a58e42
SUCCESS checkout https://github.com/MindscapeHQ/raygun4apple.git at 2.0.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/MindscapeHQ/raygun4apple.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Building for debugging...
In file included from /host/spi-builder-workspace/Sources/Raygun/RaygunEnvironmentMessage.m:27:
/host/spi-builder-workspace/Sources/public/RaygunEnvironmentMessage.h:30:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
In file included from /host/spi-builder-workspace/Sources/Raygun/RaygunErrorMessage.m:27:
/host/spi-builder-workspace/Sources/public/RaygunErrorMessage.h:30:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
In file included from /host/spi-builder-workspace/Sources/Raygun/RaygunClientMessage.m:27:
/host/spi-builder-workspace/Sources/public/RaygunClientMessage.h:30:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
In file included from /host/spi-builder-workspace/Sources/Raygun/RaygunEventData.m:27:
/host/spi-builder-workspace/Sources/Raygun/RaygunEventData.h:30:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/79] Compiling RaygunClientMessage.m
[0/79] Compiling RaygunErrorMessage.m
[0/79] Compiling RaygunEventData.m
[0/79] Compiling RaygunEnvironmentMessage.m
In file included from /host/spi-builder-workspace/Sources/Raygun/RaygunCrashReportSink.m:27:
/host/spi-builder-workspace/Sources/Raygun/RaygunCrashReportSink.h:27:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
In file included from /host/spi-builder-workspace/Sources/Raygun/RaygunCrashInstallation.m:27:
/host/spi-builder-workspace/Sources/Raygun/RaygunCrashInstallation.h:27:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/79] Compiling RaygunCrashInstallation.m
In file included from /host/spi-builder-workspace/Sources/Raygun/RaygunCrashReportConverter.m:27:
/host/spi-builder-workspace/Sources/public/RaygunCrashReportConverter.h:27:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/79] Compiling RaygunCrashReportSink.m
[0/79] Compiling RaygunCrashReportConverter.m
In file included from /host/spi-builder-workspace/Sources/Raygun/RaygunCrashReportCustomSink.m:27:
/host/spi-builder-workspace/Sources/Raygun/RaygunCrashReportCustomSink.h:30:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/79] Compiling RaygunCrashReportCustomSink.m
[0/1] Planning build
Building for debugging...
In file included from /host/spi-builder-workspace/Sources/Raygun_KSCrash/Reporting/Tools/Raygun_KSCString.m:27:
/host/spi-builder-workspace/Sources/Raygun_KSCrash/Reporting/Tools/Raygun_KSCString.h:27:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/79] Compiling Raygun_KSCString.m
In file included from /host/spi-builder-workspace/Sources/Raygun_KSCrash/Recording/Tools/Raygun_KSThread.c:28:
/host/spi-builder-workspace/Sources/Raygun_KSCrash/Recording/Tools/Raygun_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/Sources/Raygun_KSCrash/Recording/Tools/Raygun_KSThread.c:36:10: fatal error: 'dispatch/dispatch.h' file not found
#include <dispatch/dispatch.h>
         ^~~~~~~~~~~~~~~~~~~~~
2 errors generated.
[0/79] Compiling Raygun_KSThread.c
[0/79] Compiling Raygun_Demangle.cpp
In file included from /host/spi-builder-workspace/Sources/Raygun_KSCrash/Reporting/Filters/Raygun_KSCrashReportFilterBasic.m:28:
In file included from /host/spi-builder-workspace/Sources/Raygun_KSCrash/Reporting/Filters/Raygun_KSCrashReportFilterBasic.h:28:
/host/spi-builder-workspace/Sources/Raygun_KSCrash/Reporting/Filters/Raygun_KSCrashReportFilter.h:27:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/79] Compiling Raygun_KSCrashReportFilterBasic.m
[0/79] Compiling Raygun_Punycode.cpp
In file included from /host/spi-builder-workspace/Sources/Raygun_KSCrash/Recording/Tools/Raygun_KSSysCtl.c:28:
/host/spi-builder-workspace/Sources/Raygun_KSCrash/Recording/Tools/Raygun_KSSysCtl.h:42:10: fatal error: 'sys/sysctl.h' file not found
#include <sys/sysctl.h>
         ^~~~~~~~~~~~~~
[0/79] Compiling Raygun_KSSysCtl.c
In file included from /host/spi-builder-workspace/Sources/Raygun_KSCrash/Reporting/Filters/Tools/Container+Raygun_DeepSearch.m:28:
/host/spi-builder-workspace/Sources/Raygun_KSCrash/Reporting/Filters/Tools/Container+Raygun_DeepSearch.h:55:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/79] Compiling Container+Raygun_DeepSearch.m
In file included from /host/spi-builder-workspace/Sources/Raygun_KSCrash/Reporting/Filters/Tools/NSData+GZip.m:28:
/host/spi-builder-workspace/Sources/Raygun_KSCrash/Reporting/Filters/Tools/NSData+GZip.h:28:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/79] Compiling NSData+GZip.m
BUILD FAILURE 5.10 linux

Build Machine: Linux 1