The Swift Package Index logo.Swift Package Index

Build Information

Failed to build RemotePlugin with Swift 5.7 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.7-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.22.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/johnno1962/Remote.git
Reference: 2.3.5
Cloned https://github.com/johnno1962/Remote.git into spi-builder-workspace
SUCCESS checkout https://github.com/johnno1962/Remote.git at 2.3.5
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.7
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.7-latest swift build 2>&1
Building for debugging...
In file included from /host/spi-builder-workspace/Sources/RemoteCapture/RemoteImpl.m:11:
In file included from /host/spi-builder-workspace/Sources/RemoteCapture/include/RemoteCapture.h:37:
/usr/include/x86_64-linux-gnu/sys/sysctl.h:21:2: warning: "The <sys/sysctl.h> header is deprecated and will be removed." [-W#warnings]
#warning "The <sys/sysctl.h> header is deprecated and will be removed."
 ^
In file included from /host/spi-builder-workspace/Sources/RemoteCapture/RemoteImpl.m:11:
In file included from /host/spi-builder-workspace/Sources/RemoteCapture/include/RemoteCapture.h:44:
/host/spi-builder-workspace/Sources/RemoteCapture/include/RemoteHeaders.h:11:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 warning and 1 error generated.
[0/6] Compiling RemoteCapture RemoteImpl.m
BUILD FAILURE 5.7 linux

Build Machine: Linux 2