Build Information
Failed to build Mantle 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/Mantle/Mantle.git
Reference: master
Cloned https://github.com/Mantle/Mantle.git into spi-builder-workspace
SUCCESS checkout https://github.com/Mantle/Mantle.git at master
========================================
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...
In file included from /host/spi-builder-workspace/Mantle/MTLValueTransformer.m:9:
/host/spi-builder-workspace/Mantle/include/MTLValueTransformer.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/16] Compiling Mantle MTLValueTransformer.m
In file included from /host/spi-builder-workspace/Mantle/MTLReflection.m:9:
/host/spi-builder-workspace/Mantle/MTLReflection.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/16] Compiling Mantle MTLReflection.m
In file included from /host/spi-builder-workspace/Mantle/NSArray+MTLManipulationAdditions.m:9:
/host/spi-builder-workspace/Mantle/include/NSArray+MTLManipulationAdditions.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/16] Compiling Mantle NSArray+MTLManipulationAdditions.m
[0/16] Compiling Mantle MTLTransformerErrorHandling.m
[0/16] Compiling Mantle MTLModel+NSCoding.m
[0/16] Compiling extobjc MTLEXTScope.m
[0/16] Compiling Mantle MTLModel.m
/host/spi-builder-workspace/Mantle/MTLJSONAdapter.m:9:9: fatal error: 'objc/runtime.h' file not found
#import <objc/runtime.h>
^~~~~~~~~~~~~~~~
[0/16] Compiling Mantle MTLJSONAdapter.m
BUILD FAILURE 5.9 linux
Build Machine: Linux 2