The Swift Package Index logo.Swift Package Index

Build Information

Failed to build PromotedAIMetricsSDK with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4609320-0":/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/promotedai/ios-metrics-sdk.git
Reference: main
Cloned https://github.com/promotedai/ios-metrics-sdk.git into spi-builder-workspace
SUCCESS checkout https://github.com/promotedai/ios-metrics-sdk.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4609320-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/apple/swift-protobuf
Fetching https://github.com/google/gtm-session-fetcher
Fetching https://github.com/firebase/firebase-ios-sdk
[1/3574] Fetching gtm-session-fetcher
[3575/33362] Fetching gtm-session-fetcher, swift-protobuf
[33363/341950] Fetching gtm-session-fetcher, swift-protobuf, firebase-ios-sdk
Fetched https://github.com/google/gtm-session-fetcher (13.78s)
Fetched https://github.com/apple/swift-protobuf (13.84s)
Fetched https://github.com/firebase/firebase-ios-sdk (14.08s)
Computing version for https://github.com/firebase/firebase-ios-sdk
Computed https://github.com/firebase/firebase-ios-sdk at 7.11.1 (1.77s)
Fetching https://github.com/firebase/grpc-SwiftPM.git
Fetching https://github.com/firebase/leveldb.git
Fetching https://github.com/firebase/abseil-cpp-SwiftPM.git
[1/3216] Fetching leveldb
[3217/5630] Fetching leveldb, abseil-cpp-swiftpm
Fetched https://github.com/firebase/abseil-cpp-SwiftPM.git (0.65s)
Fetching https://github.com/firebase/nanopb.git
[1/8264] Fetching nanopb
Fetched https://github.com/firebase/nanopb.git (0.47s)
Fetching https://github.com/google/GoogleUtilities.git
[1/9141] Fetching grpc-swiftpm
[93/12748] Fetching grpc-swiftpm, googleutilities
Fetched https://github.com/google/GoogleUtilities.git (0.31s)
Fetching https://github.com/google/GoogleDataTransport.git
[2743/9141] Fetching grpc-swiftpm
[8228/14460] Fetching grpc-swiftpm, googledatatransport
Fetched https://github.com/firebase/leveldb.git (1.83s)
Fetching https://github.com/google/GoogleAppMeasurement.git
Fetched https://github.com/firebase/grpc-SwiftPM.git (1.84s)
Fetching https://github.com/google/promises.git
Fetched https://github.com/google/GoogleDataTransport.git (0.42s)
[1/287] Fetching googleappmeasurement
[277/2503] Fetching googleappmeasurement, promises
Fetched https://github.com/google/GoogleAppMeasurement.git (0.22s)
Fetched https://github.com/google/promises.git (0.26s)
Computing version for https://github.com/firebase/leveldb.git
Computed https://github.com/firebase/leveldb.git at 1.22.2 (0.29s)
Computing version for https://github.com/firebase/grpc-SwiftPM.git
Computed https://github.com/firebase/grpc-SwiftPM.git at 1.28.4 (0.33s)
Fetching https://github.com/firebase/boringssl-SwiftPM.git
[1/8084] Fetching boringssl-swiftpm
Fetched https://github.com/firebase/boringssl-SwiftPM.git (2.64s)
Computing version for https://github.com/firebase/nanopb.git
Computed https://github.com/firebase/nanopb.git at 2.30908.0 (0.31s)
Computing version for https://github.com/google/GoogleDataTransport.git
Computed https://github.com/google/GoogleDataTransport.git at 8.4.0 (0.35s)
Computing version for https://github.com/google/GoogleAppMeasurement.git
Computed https://github.com/google/GoogleAppMeasurement.git at 7.11.1 (0.36s)
Computing version for https://github.com/firebase/abseil-cpp-SwiftPM.git
Computed https://github.com/firebase/abseil-cpp-SwiftPM.git at 0.20200225.4 (0.38s)
Computing version for https://github.com/firebase/boringssl-SwiftPM.git
Computed https://github.com/firebase/boringssl-SwiftPM.git at 0.7.2 (0.33s)
Computing version for https://github.com/google/promises.git
Computed https://github.com/google/promises.git at 1.2.12 (1.11s)
Computing version for https://github.com/google/gtm-session-fetcher
Computed https://github.com/google/gtm-session-fetcher at 1.7.2 (0.33s)
Computing version for https://github.com/apple/swift-protobuf
Computed https://github.com/apple/swift-protobuf at 1.22.0 (0.33s)
Computing version for https://github.com/google/GoogleUtilities.git
Computed https://github.com/google/GoogleUtilities.git at 7.11.1 (0.41s)
Creating working copy for https://github.com/firebase/grpc-SwiftPM.git
Working copy of https://github.com/firebase/grpc-SwiftPM.git resolved at 1.28.4
Creating working copy for https://github.com/firebase/abseil-cpp-SwiftPM.git
Working copy of https://github.com/firebase/abseil-cpp-SwiftPM.git resolved at 0.20200225.4
Creating working copy for https://github.com/google/GoogleAppMeasurement.git
Working copy of https://github.com/google/GoogleAppMeasurement.git resolved at 7.11.1
Creating working copy for https://github.com/firebase/nanopb.git
Working copy of https://github.com/firebase/nanopb.git resolved at 2.30908.0
Creating working copy for https://github.com/google/GoogleUtilities.git
Working copy of https://github.com/google/GoogleUtilities.git resolved at 7.11.1
Creating working copy for https://github.com/google/GoogleDataTransport.git
Working copy of https://github.com/google/GoogleDataTransport.git resolved at 8.4.0
Creating working copy for https://github.com/firebase/firebase-ios-sdk
Working copy of https://github.com/firebase/firebase-ios-sdk resolved at 7.11.1
Creating working copy for https://github.com/firebase/boringssl-SwiftPM.git
Working copy of https://github.com/firebase/boringssl-SwiftPM.git resolved at 0.7.2
Creating working copy for https://github.com/google/gtm-session-fetcher
Working copy of https://github.com/google/gtm-session-fetcher resolved at 1.7.2
Creating working copy for https://github.com/google/promises.git
Working copy of https://github.com/google/promises.git resolved at 1.2.12
Creating working copy for https://github.com/apple/swift-protobuf
Working copy of https://github.com/apple/swift-protobuf resolved at 1.22.0
Creating working copy for https://github.com/firebase/leveldb.git
Working copy of https://github.com/firebase/leveldb.git resolved at 1.22.2
Downloading binary artifact https://dl.google.com/firebase/ios/swiftpm/7.11.1/FirebaseAnalytics.zip
Downloading binary artifact https://dl.google.com/firebase/ios/swiftpm/7.11.1/GoogleAppMeasurement.zip
Downloading binary artifact https://dl.google.com/firebase/ios/swiftpm/7.11.1/GoogleAppMeasurementWithoutAdIdSupport.zip
[4125/378167] Downloading https://dl.google.com/firebase/ios/swiftpm/7.11.1/FirebaseAnalytics.zip
[379536/9870142] Downloading https://dl.google.com/firebase/ios/swiftpm/7.11.1/FirebaseAnalytics.zip, https://dl.google.com/firebase/ios/swiftpm/7.11.1/GoogleAppMeasurement.zip
Downloaded https://dl.google.com/firebase/ios/swiftpm/7.11.1/FirebaseAnalytics.zip (0.15s)
[496269/9491975] Downloading https://dl.google.com/firebase/ios/swiftpm/7.11.1/GoogleAppMeasurement.zip
[8701209/18941986] Downloading https://dl.google.com/firebase/ios/swiftpm/7.11.1/GoogleAppMeasurement.zip, https://dl.google.com/firebase/ios/swiftpm/7.11.1/GoogleAppMeasurementWithoutAdIdSupport.zip
Downloaded https://dl.google.com/firebase/ios/swiftpm/7.11.1/GoogleAppMeasurement.zip (1.06s)
Downloaded https://dl.google.com/firebase/ios/swiftpm/7.11.1/GoogleAppMeasurementWithoutAdIdSupport.zip (1.26s)
[1/1] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[1/19] Copying Version.txt
/host/spi-builder-workspace/.build/checkouts/gtm-session-fetcher/Source/GTMSessionFetcherService.m:17:2: error: "This file requires ARC support."
#error "This file requires ARC support."
 ^
In file included from /host/spi-builder-workspace/.build/checkouts/gtm-session-fetcher/Source/GTMSessionFetcherService.m:20:
In file included from /host/spi-builder-workspace/.build/checkouts/gtm-session-fetcher/Source/GTMSessionFetcherService.h:23:
/host/spi-builder-workspace/.build/checkouts/gtm-session-fetcher/Source/GTMSessionFetcher.h:262:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
2 errors generated.
[2/19] Compiling GTMSessionFetcherCore GTMSessionFetcherService.m
/host/spi-builder-workspace/.build/checkouts/gtm-session-fetcher/Source/GTMSessionUploadFetcher.m:17:2: error: "This file requires ARC support."
#error "This file requires ARC support."
 ^
In file included from /host/spi-builder-workspace/.build/checkouts/gtm-session-fetcher/Source/GTMSessionUploadFetcher.m:20:
In file included from /host/spi-builder-workspace/.build/checkouts/gtm-session-fetcher/Source/GTMSessionUploadFetcher.h:40:
/host/spi-builder-workspace/.build/checkouts/gtm-session-fetcher/Source/GTMSessionFetcher.h:262:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
2[2/19] Compiling GTMSessionFetcherCore GTMSessionUploadFetcher.m
In file included from /host/spi-builder-workspace/.build/checkouts/firebase-ios-sdk/FirebaseRemoteConfig/Sources/RCNUserDefaultsManager.m:17:
/host/spi-builder-workspace/.build/checkouts/firebase-ios-sdk/FirebaseRemoteConfig/Sources/RCNUserDefaultsManager.h:17:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/gtm-session-fetcher/Source/GTMSessionFetcher.m:17:2: error: "This file requires ARC support."
#error "This file requires ARC support."
 ^
In file included from /host/spi-builder-workspace/.build/checkouts/gtm-session-fetcher/Source/GTMSessionFetcher.m:20:
/host/spi-builder-workspace/.build/checkouts/gtm-session-fetcher/Source/GTMSessionFetcher.h:262:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[2/19] Compiling FirebaseRemoteConfig RCNUserDefaultsManager.m
[2/19] Compiling GTMSessionFetcherCore GTMSessionFetcher.m
In file included from /host/spi-builder-workspace/.build/checkouts/firebase-ios-sdk/FirebaseRemoteConfig/Sources/RCNConfigFetch.m:17:
/host/spi-builder-workspace/.build/checkouts/firebase-ios-sdk/FirebaseRemoteConfig/Sources/Private/RCNConfigFetch.h:17:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
While building module 'GoogleUtilities_NSData' imported from /host/spi-builder-workspace/.build/checkouts/firebase-ios-sdk/FirebaseRemoteConfig/Sources/RCNConfigFetch.m:19:
In file included from <module-includes>:1:
/host/spi-builder-workspace/.build/checkouts/GoogleUtilities/GoogleUtilities/NSData+zlib/Public/GoogleUtilities/GULNSData+zlib.h:15:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
While building module 'FirebaseCore' imported from /host/spi-builder-workspace/.build/checkouts/firebase-ios-sdk/FirebaseCore/Sources/Private/FirebaseCoreInternal.h:18:
In file included from <module-includes>:1:
In file included from /host/spi-builder-workspace/.build/checkouts/firebase-ios-sdk/FirebaseCore/Sources/Public/FirebaseCore/FirebaseCore.h:17:
/host/spi-builder-workspace/.build/checkouts/firebase-ios-sdk/FirebaseCore/Sources/Public/FirebaseCore/FIRApp.h:17:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[2/19] Compiling FirebaseRemoteConfig RCNConfigFetch.m
/host/spi-builder-workspace/.build/checkouts/gtm-session-fetcher/Source/GTMSessionFetcherLogging.m:17:2: error: "This file requires ARC support."
#error "This file requires ARC support."
 ^
In file included from /host/spi-builder-workspace/.build/checkouts/gtm-session-fetcher/Source/GTMSessionFetcherLogging.m:23:
In file included from /host/spi-builder-workspace/.build/checkouts/gtm-session-fetcher/Source/GTMSessionFetcherLogging.h:16:
/host/spi-builder-workspace/.build/checkouts/gtm-session-fetcher/Source/GTMSessionFetcher.h:262:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
2 errors generated.
[2/19] Compiling GTMSessionFetcherCore GTMSessionFetcherLogging.m
In file included from /host/spi-builder-workspace/.build/checkouts/firebase-ios-sdk/FirebaseRemoteConfig/Sources/RCNConfigContent.m:17:
/host/spi-builder-workspace/.build/checkouts/firebase-ios-sdk/FirebaseRemoteConfig/Sources/RCNConfigContent.h:17:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[2/19] Compiling FirebaseRemoteConfig RCNConfigContent.m
BUILD FAILURE 5.9 linux

Build Machine: Linux 2