Build Information
Failed to build PromotedAIMetricsSDK, reference main (a71933
), with Swift 5.10 for Linux on 26 Mar 2025 01:54:29 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/promotedai/ios-metrics-sdk.git
Reference: main
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/promotedai/ios-metrics-sdk
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at a719336 Add NOTICE (#204)
Cloned https://github.com/promotedai/ios-metrics-sdk.git
Revision (git rev-parse @):
a7193360d4762b1eaa4e3e6c6db071873c0d9974
SUCCESS checkout https://github.com/promotedai/ios-metrics-sdk.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $PWD
https://github.com/promotedai/ios-metrics-sdk.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:8b386ca1081dd55ec0944429387f246ccb59ef99c9c8cbb418b0abd78460b38f
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Fetching https://github.com/apple/swift-protobuf
Fetching https://github.com/google/gtm-session-fetcher
Fetching https://github.com/firebase/firebase-ios-sdk
[1/4174] Fetching gtm-session-fetcher
[4175/42659] Fetching gtm-session-fetcher, swift-protobuf
[29191/406737] Fetching gtm-session-fetcher, swift-protobuf, firebase-ios-sdk
Fetched https://github.com/google/gtm-session-fetcher from cache (8.06s)
[238728/402563] Fetching swift-protobuf, firebase-ios-sdk
Fetched https://github.com/apple/swift-protobuf from cache (8.16s)
[203884/364078] Fetching firebase-ios-sdk
Fetched https://github.com/firebase/firebase-ios-sdk from cache (22.00s)
Computing version for https://github.com/firebase/firebase-ios-sdk
Computed https://github.com/firebase/firebase-ios-sdk at 7.11.1 (1.35s)
Fetching https://github.com/firebase/leveldb.git
Fetching https://github.com/firebase/grpc-SwiftPM.git
Fetching https://github.com/firebase/abseil-cpp-SwiftPM.git
Fetching https://github.com/firebase/nanopb.git
Fetching https://github.com/google/GoogleUtilities.git
Fetching https://github.com/google/GoogleDataTransport.git
[1/8285] Fetching nanopb
[1493/11639] Fetching nanopb, leveldb
[2545/16696] Fetching nanopb, leveldb, googleutilities
[10528/22560] Fetching nanopb, leveldb, googleutilities, googledatatransport
[22561/26664] Fetching nanopb, leveldb, googleutilities, googledatatransport, abseil-cpp-swiftpm
[26665/35805] Fetching nanopb, leveldb, googleutilities, googledatatransport, abseil-cpp-swiftpm, grpc-swiftpm
Fetched https://github.com/google/GoogleDataTransport.git from cache (1.59s)
[28022/29941] Fetching nanopb, leveldb, googleutilities, abseil-cpp-swiftpm, grpc-swiftpm
Fetching https://github.com/google/GoogleAppMeasurement.git
Fetched https://github.com/google/GoogleUtilities.git from cache (1.60s)
Fetching https://github.com/google/promises.git
Fetched https://github.com/firebase/abseil-cpp-SwiftPM.git from cache (1.60s)
[18952/20780] Fetching nanopb, leveldb, grpc-swiftpm
[20781/21214] Fetching nanopb, leveldb, grpc-swiftpm, googleappmeasurement
[21215/23632] Fetching nanopb, leveldb, grpc-swiftpm, googleappmeasurement, promises
Fetched https://github.com/firebase/leveldb.git from cache (2.09s)
Fetched https://github.com/google/GoogleAppMeasurement.git from cache (0.50s)
Fetched https://github.com/google/promises.git from cache (0.50s)
Fetched https://github.com/firebase/nanopb.git from cache (2.10s)
Fetched https://github.com/firebase/grpc-SwiftPM.git from cache (2.11s)
Computing version for https://github.com/firebase/grpc-SwiftPM.git
Computed https://github.com/firebase/grpc-SwiftPM.git at 1.28.4 (0.53s)
Fetching https://github.com/firebase/boringssl-SwiftPM.git
[1/8155] Fetching boringssl-swiftpm
Fetched https://github.com/firebase/boringssl-SwiftPM.git from cache (2.89s)
Computing version for https://github.com/firebase/nanopb.git
Computed https://github.com/firebase/nanopb.git at 2.30908.0 (0.54s)
Computing version for https://github.com/google/GoogleDataTransport.git
Computed https://github.com/google/GoogleDataTransport.git at 8.4.0 (0.60s)
Computing version for https://github.com/google/GoogleAppMeasurement.git
Computed https://github.com/google/GoogleAppMeasurement.git at 7.11.1 (0.55s)
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.58s)
Computing version for https://github.com/firebase/boringssl-SwiftPM.git
Computed https://github.com/firebase/boringssl-SwiftPM.git at 0.7.2 (0.57s)
Computing version for https://github.com/firebase/leveldb.git
Computed https://github.com/firebase/leveldb.git at 1.22.5 (0.46s)
Computing version for https://github.com/google/promises.git
Computed https://github.com/google/promises.git at 1.2.12 (2.08s)
Computing version for https://github.com/google/gtm-session-fetcher
Computed https://github.com/google/gtm-session-fetcher at 1.7.2 (0.68s)
Computing version for https://github.com/apple/swift-protobuf
Computed https://github.com/apple/swift-protobuf at 1.29.0 (0.57s)
Computing version for https://github.com/google/GoogleUtilities.git
Computed https://github.com/google/GoogleUtilities.git at 7.13.3 (0.50s)
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/GoogleUtilities.git
Working copy of https://github.com/google/GoogleUtilities.git resolved at 7.13.3
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/nanopb.git
Working copy of https://github.com/firebase/nanopb.git resolved at 2.30908.0
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/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/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/firebase/leveldb.git
Working copy of https://github.com/firebase/leveldb.git resolved at 1.22.5
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/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/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/apple/swift-protobuf
Working copy of https://github.com/apple/swift-protobuf resolved at 1.29.0
[1369/378167] Downloading 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/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
[1071841/19320153] 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, https://dl.google.com/firebase/ios/swiftpm/7.11.1/GoogleAppMeasurementWithoutAdIdSupport.zip
Downloaded https://dl.google.com/firebase/ios/swiftpm/7.11.1/FirebaseAnalytics.zip (0.46s)
[791458/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
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
Downloaded https://dl.google.com/firebase/ios/swiftpm/7.11.1/GoogleAppMeasurement.zip (1.61s)
Downloaded https://dl.google.com/firebase/ios/swiftpm/7.11.1/GoogleAppMeasurementWithoutAdIdSupport.zip (1.69s)
[1/1] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[1/28] Write sources
[7/28] Copying PrivacyInfo.xcprivacy
[7/28] Write sources
[9/28] Copying Version.txt
In file included from /host/spi-builder-workspace/.build/checkouts/firebase-ios-sdk/FirebaseRemoteConfig/Sources/RCNPersonalization.m:17:
In file included from /host/spi-builder-workspace/.build/checkouts/firebase-ios-sdk/FirebaseRemoteConfig/Sources/RCNPersonalization.h:17:
/host/spi-builder-workspace/.build/checkouts/firebase-ios-sdk/Interop/Analytics/Public/FIRAnalyticsInterop.h:17:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[10/28] Compiling FirebaseRemoteConfig RCNPersonalization.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>
^~~~~~~~~~~~~~~~~~~~~~~~~
[10/28] Compiling GTMSessionFetcherCore GTMSessionFetcherLogging.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>
^~~~~~~~~~~~~~~~~~~~~~~~~
/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>
^~~~~~~~~~~~~~~~~~~~~~~~~
[10/28] Compiling GTMSessionFetcherCore GTMSessionFetcher.m
[10/28] Compiling GTMSessionFetcherCore GTMSessionUploadFetcher.m
In file included from /host/spi-builder-workspace/.build/checkouts/firebase-ios-sdk/FirebaseRemoteConfig/Sources/RCNDevice.m:17:
/host/spi-builder-workspace/.build/checkouts/firebase-ios-sdk/FirebaseRemoteConfig/Sources/RCNDevice.h:17:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
^~~~~~~~~~~~~~~~~~~~~~~~~
While building module 'GoogleUtilities_Environment' imported from /host/spi-builder-workspace/.build/checkouts/firebase-ios-sdk/FirebaseRemoteConfig/Sources/RCNDevice.m:21:
In file included from <module-includes>:1:
/host/spi-builder-workspace/.build/checkouts/GoogleUtilities/GoogleUtilities/Environment/Public/GoogleUtilities/GULAppEnvironmentUtil.h:17:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
^~~~~~~~~~~~~~~~~~~~~~~~~
[10/28] Compiling FirebaseRemoteConfig RCNDevice.m
/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>
^~~~~~~~~~~~~~~~~~~~~~~~~
[10/28] Compiling GTMSessionFetcherCore GTMSessionFetcherService.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>
^~~~~~~~~~~~~~~~~~~~~~~~~
[10/28] Compiling FirebaseRemoteConfig RCNUserDefaultsManager.m
[10/28] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 5.10 linux