The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Mantle with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-1":/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/Mantle/Mantle.git
Reference: 2.2.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/Mantle/Mantle
 * tag               2.2.0      -> FETCH_HEAD
HEAD is now at 16f72bf Update README.md
Submodule path 'Carthage/Checkouts/Nimble': checked out 'b02b00b30b6353632aa4a5fb6124f8147f7140c0'
Submodule path 'Carthage/Checkouts/Quick': checked out '33682c2f6230c60614861dfc61df267e11a1602f'
Submodule path 'Carthage/Checkouts/Quick/Externals/Nimble': checked out '6abeb3f5c03beba2b9e4dbe20886e773b5b629b6'
Submodule path 'Carthage/Checkouts/xcconfigs': checked out '1ef97639ffbe041da0b1392b2114fa19b922a7a1'
Submodule 'Carthage.checkout/Nimble' (https://github.com/Quick/Nimble.git) registered for path 'Carthage/Checkouts/Nimble'
Submodule 'Carthage.checkout/Quick' (https://github.com/Quick/Quick.git) registered for path 'Carthage/Checkouts/Quick'
Submodule 'Carthage.checkout/xcconfigs' (https://github.com/jspahrsummers/xcconfigs.git) registered for path 'Carthage/Checkouts/xcconfigs'
Cloning into '/host/spi-builder-workspace/Carthage/Checkouts/Nimble'...
Cloning into '/host/spi-builder-workspace/Carthage/Checkouts/Quick'...
Cloning into '/host/spi-builder-workspace/Carthage/Checkouts/xcconfigs'...
Submodule 'Externals/Nimble' (https://github.com/Quick/Nimble.git) registered for path 'Carthage/Checkouts/Quick/Externals/Nimble'
Cloning into '/host/spi-builder-workspace/Carthage/Checkouts/Quick/Externals/Nimble'...
Cloned https://github.com/Mantle/Mantle.git
Revision (git rev-parse @):
16f72bfe72a2ab29654ba894da1c32b17524e1a6
SUCCESS checkout https://github.com/Mantle/Mantle.git at 2.2.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/Mantle/Mantle.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Building for debugging...
While building module 'extobjc' imported from /host/spi-builder-workspace/Mantle/MTLModel.m:9:
In file included from <module-includes>:1:
/host/spi-builder-workspace/Mantle/extobjc/include/MTLEXTKeyPathCoding.h:10:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Mantle/MTLModel.m:9:9: fatal error: could not build module 'extobjc'
#import "MTLEXTRuntimeExtensions.h"
 ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
2 errors generated.
In file included from /host/spi-builder-workspace/Mantle/NSObject+MTLComparisonAdditions.m:12:
/host/spi-builder-workspace/Mantle/include/NSObject+MTLComparisonAdditions.h:12:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/16] Compiling Mantle NSObject+MTLComparisonAdditions.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
While building module 'extobjc' imported from /host/spi-builder-workspace/Mantle/MTLModel+NSCoding.m:9:
In file included from <module-includes>:1:
/host/spi-builder-workspace/Mantle/extobjc/include/MTLEXTKeyPathCoding.h:10:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Mantle/MTLModel+NSCoding.m:9:9: fatal error: could not build module 'extobjc'
#import "MTLEXTRuntimeExtensions.h"
 ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
2 errors generated.
[0/16] Compiling Mantle MTLModel+NSCoding.m
[0/16] Compiling extobjc MTLEXTScope.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
[0/16] Compiling Mantle NSArray+MTLManipulationAdditions.m
[0/16] Compiling extobjc MTLEXTRuntimeExtensions.m
[0/1] Planning build
Building for debugging...
In file included from /host/spi-builder-workspace/Mantle/NSValueTransformer+MTLInversionAdditions.m:9:
/host/spi-builder-workspace/Mantle/include/NSValueTransformer+MTLInversionAdditions.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/16] Compiling Mantle NSValueTransformer+MTLInversionAdditions.m
[0/16] Compiling extobjc MTLEXTScope.m
In file included from /host/spi-builder-workspace/Mantle/NSValueTransformer+MTLPredefinedTransformerAdditions.m:9:
/host/spi-builder-workspace/Mantle/include/NSValueTransformer+MTLPredefinedTransformerAdditions.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/16] Compiling Mantle NSValueTransformer+MTLPredefinedTransformerAdditions.m
In file included from /host/spi-builder-workspace/Mantle/NSObject+MTLComparisonAdditions.m:12:
/host/spi-builder-workspace/Mantle/include/NSObject+MTLComparisonAdditions.h:12:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/16] Compiling Mantle NSObject+MTLComparisonAdditions.m
In file included from /host/spi-builder-workspace/Mantle/NSDictionary+MTLMappingAdditions.m:9:
/host/spi-builder-workspace/Mantle/include/MTLModel.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/16] Compiling Mantle NSDictionary+MTLMappingAdditions.m
In file included from /host/spi-builder-workspace/Mantle/NSError+MTLModelException.m:9:
/host/spi-builder-workspace/Mantle/include/MTLModel.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/16] Compiling Mantle NSError+MTLModelException.m
In file included from /host/spi-builder-workspace/Mantle/NSDictionary+MTLManipulationAdditions.m:9:
/host/spi-builder-workspace/Mantle/include/NSDictionary+MTLManipulationAdditions.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/16] Compiling Mantle NSDictionary+MTLManipulationAdditions.m
In file included from /host/spi-builder-workspace/Mantle/extobjc/MTLEXTRuntimeExtensions.m:10:
/host/spi-builder-workspace/Mantle/extobjc/include/MTLEXTRuntimeExtensions.h:10:9: fatal error: 'objc/runtime.h' file not found
#import <objc/runtime.h>
        ^~~~~~~~~~~~~~~~
[0/16] Compiling extobjc MTLEXTRuntimeExtensions.m
BUILD FAILURE 5.10 linux

Build Machine: Linux 1