The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SerialSwift 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/Flowduino/SerialSwift.git
Reference: 1.0.4
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/Flowduino/SerialSwift
 * tag               1.0.4      -> FETCH_HEAD
HEAD is now at d2ee521 EventDrivenSwift upgraded to 5.1.0
Cloned https://github.com/Flowduino/SerialSwift.git
Revision (git rev-parse @):
d2ee52193980d23ecf9ccd2d8fc65d292db9fcaf
SUCCESS checkout https://github.com/Flowduino/SerialSwift.git at 1.0.4
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/Flowduino/SerialSwift.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
Fetching https://github.com/Flowduino/Observable.git
Fetching https://github.com/armadsen/ORSSerialPort.git
Fetching https://github.com/Flowduino/EventDrivenSwift.git
Fetching https://github.com/Flowduino/ThreadSafeSwift.git
[1/116] Fetching observable
[117/2985] Fetching observable, orsserialport
[175/3038] Fetching observable, orsserialport, threadsafeswift
[1662/3658] Fetching observable, orsserialport, threadsafeswift, eventdrivenswift
Fetched https://github.com/armadsen/ORSSerialPort.git from cache (0.28s)
Fetched https://github.com/Flowduino/Observable.git from cache (0.30s)
Fetched https://github.com/Flowduino/ThreadSafeSwift.git from cache (0.30s)
Fetched https://github.com/Flowduino/EventDrivenSwift.git from cache (0.30s)
Computing version for https://github.com/armadsen/ORSSerialPort.git
Computed https://github.com/armadsen/ORSSerialPort.git at 2.1.0 (0.38s)
Computing version for https://github.com/Flowduino/EventDrivenSwift.git
Computed https://github.com/Flowduino/EventDrivenSwift.git at 5.1.0 (0.42s)
Computing version for https://github.com/Flowduino/Observable.git
Computed https://github.com/Flowduino/Observable.git at 2.0.0 (0.40s)
Computing version for https://github.com/Flowduino/ThreadSafeSwift.git
Computed https://github.com/Flowduino/ThreadSafeSwift.git at 1.1.0 (0.39s)
Creating working copy for https://github.com/Flowduino/EventDrivenSwift.git
Working copy of https://github.com/Flowduino/EventDrivenSwift.git resolved at 5.1.0
Creating working copy for https://github.com/Flowduino/Observable.git
Working copy of https://github.com/Flowduino/Observable.git resolved at 2.0.0
Creating working copy for https://github.com/armadsen/ORSSerialPort.git
Working copy of https://github.com/armadsen/ORSSerialPort.git resolved at 2.1.0
Creating working copy for https://github.com/Flowduino/ThreadSafeSwift.git
Working copy of https://github.com/Flowduino/ThreadSafeSwift.git resolved at 1.1.0
Building for debugging...
[0/10] Write sources
In file included from /host/spi-builder-workspace/.build/checkouts/ORSSerialPort/Source/ORSSerialPacketDescriptor.m:27:
/host/spi-builder-workspace/.build/checkouts/ORSSerialPort/Source/ORSSerialPacketDescriptor.h:27:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[4/10] Compiling ORSSerial ORSSerialPacketDescriptor.m
[4/10] Compiling ORSSerial ORSSerialBuffer.m
[4/10] Compiling ORSSerial ORSSerialRequest.m
In file included from /host/spi-builder-workspace/.build/checkouts/ORSSerialPort/Source/ORSSerialPort.m:27:
/host/spi-builder-workspace/.build/checkouts/ORSSerialPort/Source/ORSSerialPort.h:27:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[4/10] Compiling ORSSerial ORSSerialPort.m
/host/spi-builder-workspace/.build/checkouts/ORSSerialPort/Source/ORSSerialPortManager.m:28:2: error: ORSSerialPortManager.m must be compiled with ARC. Either turn on ARC for the project or set the -fobjc-arc flag for ORSSerialPortManager.m in the Build Phases for this target
#error ORSSerialPortManager.m must be compiled with ARC. Either turn on ARC for the project or set the -fobjc-arc flag for ORSSerialPortManager.m in the Build Phases for this target
 ^
In file included from /host/spi-builder-workspace/.build/checkouts/ORSSerialPort/Source/ORSSerialPortManager.m:31:
/host/spi-builder-workspace/.build/checkouts/ORSSerialPort/Source/ORSSerialPortManager.h:27:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
2 errors generated.
[4/10] Compiling ORSSerial ORSSerialPortManager.m
[4/10] Write swift-version-24593BA9C3E375BF.txt
[0/1] Planning build
Building for debugging...
In file included from /host/spi-builder-workspace/.build/checkouts/ORSSerialPort/Source/ORSSerialBuffer.m:9:
/host/spi-builder-workspace/.build/checkouts/ORSSerialPort/Source/ORSSerialBuffer.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/6] Compiling ORSSerial ORSSerialBuffer.m
In file included from /host/spi-builder-workspace/.build/checkouts/ORSSerialPort/Source/ORSSerialPacketDescriptor.m:27:
/host/spi-builder-workspace/.build/checkouts/ORSSerialPort/Source/ORSSerialPacketDescriptor.h:27:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/6] Compiling ORSSerial ORSSerialPacketDescriptor.m
In file included from /host/spi-builder-workspace/.build/checkouts/ORSSerialPort/Source/ORSSerialPort.m:27:
/host/spi-builder-workspace/.build/checkouts/ORSSerialPort/Source/ORSSerialPort.h:27:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/6] Compiling ORSSerial ORSSerialPort.m
In file included from /host/spi-builder-workspace/.build/checkouts/ORSSerialPort/Source/ORSSerialRequest.m:27:
/host/spi-builder-workspace/.build/checkouts/ORSSerialPort/Source/ORSSerialRequest.h:27:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/6] Compiling ORSSerial ORSSerialRequest.m
/host/spi-builder-workspace/.build/checkouts/ORSSerialPort/Source/ORSSerialPortManager.m:28:2: error: ORSSerialPortManager.m must be compiled with ARC. Either turn on ARC for the project or set the -fobjc-arc flag for ORSSerialPortManager.m in the Build Phases for this target
#error ORSSerialPortManager.m must be compiled with ARC. Either turn on ARC for the project or set the -fobjc-arc flag for ORSSerialPortManager.m in the Build Phases for this target
 ^
In file included from /host/spi-builder-workspace/.build/checkouts/ORSSerialPort/Source/ORSSerialPortManager.m:31:
/host/spi-builder-workspace/.build/checkouts/ORSSerialPort/Source/ORSSerialPortManager.h:27:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/6] Compiling ORSSerial ORSSerialPortManager.m
[0/6] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 5.10 linux

Build Machine: Linux 1