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-4609320-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: master
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
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
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 master
========================================
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-4609320-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/RaygunMessage.m:27:
/host/spi-builder-workspace/Sources/public/RaygunMessage.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/RaygunFile.m:27:
/host/spi-builder-workspace/Sources/Raygun/RaygunFile.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/RaygunFrame.m:27:
/host/spi-builder-workspace/Sources/public/RaygunFrame.h:30:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/79] Compiling RaygunMessage.m
[0/79] Compiling RaygunFrame.m
[0/79] Compiling RaygunFile.m
In file included from /host/spi-builder-workspace/Sources/Raygun/RaygunFileManager.m:27:
/host/spi-builder-workspace/Sources/Raygun/RaygunFileManager.h:30:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/79] Compiling RaygunFileManager.m
In file included from /host/spi-builder-workspace/Sources/Raygun/RaygunNetworkPerformanceMonitor.m:27:
/host/spi-builder-workspace/Sources/Raygun/RaygunNetworkPerformanceMonitor.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/RaygunLogger.m:27:
/host/spi-builder-workspace/Sources/Raygun/RaygunLogger.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/RaygunMessageDetails.m:27:
/host/spi-builder-workspace/Sources/public/RaygunMessageDetails.h:30:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/79] Compiling RaygunMessageDetails.m
[0/79] Compiling RaygunLogger.m
[0/79] Compiling RaygunNetworkPerformanceMonitor.m
In file included from /host/spi-builder-workspace/Sources/Raygun/RaygunEventMessage.m:27:
/host/spi-builder-workspace/Sources/Raygun/RaygunEventMessage.h:30:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/79] Compiling RaygunEventMessage.m
[0/1] Planning build
Building for debugging...
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/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/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>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/79] Compiling Raygun_KSCrashReportFilterBasic.m
[0/79] Compiling Raygun_KSThread.c
[0/79] Compiling Raygun_Demangle.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
[0/79] Compiling Raygun_Punycode.cpp
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 2