The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build PromotedAIMetricsSDK 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/promotedai/ios-metrics-sdk.git
Reference: 1.3.3
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
 * tag               1.3.3      -> FETCH_HEAD
HEAD is now at ffb6822 Update to 1.3.3 (#199)
Cloned https://github.com/promotedai/ios-metrics-sdk.git
Revision (git rev-parse @):
ffb682284c1c5fab75e8ed7c98e4ea4edab23abf
SUCCESS checkout https://github.com/promotedai/ios-metrics-sdk.git at 1.3.3
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/promotedai/ios-metrics-sdk.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/apple/swift-protobuf
Fetching https://github.com/google/gtm-session-fetcher
Fetching https://github.com/firebase/firebase-ios-sdk
[1/3685] Fetching gtm-session-fetcher
[3686/37412] Fetching gtm-session-fetcher, swift-protobuf
[20550/364086] Fetching gtm-session-fetcher, swift-protobuf, firebase-ios-sdk
Fetched https://github.com/google/gtm-session-fetcher from cache (13.52s)
Fetched https://github.com/apple/swift-protobuf from cache (13.57s)
Fetched https://github.com/firebase/firebase-ios-sdk from cache (13.78s)
Computing version for https://github.com/firebase/firebase-ios-sdk
Computed https://github.com/firebase/firebase-ios-sdk at 7.11.1 (0.95s)
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/8264] Fetching nanopb
[580/13811] Fetching nanopb, googledatatransport
[11333/17904] Fetching nanopb, googledatatransport, googleutilities
[14877/21236] Fetching nanopb, googledatatransport, googleutilities, leveldb
Fetched https://github.com/google/GoogleDataTransport.git from cache (0.45s)
[14923/15689] Fetching nanopb, googleutilities, leveldb
Fetching https://github.com/google/GoogleAppMeasurement.git
Fetched https://github.com/firebase/leveldb.git from cache (0.54s)
Fetching https://github.com/google/promises.git
Fetched https://github.com/firebase/nanopb.git from cache (0.55s)
[1/325] Fetching googleappmeasurement
[326/3931] Fetching googleappmeasurement, abseil-cpp-swiftpm
Fetched https://github.com/google/GoogleAppMeasurement.git from cache (0.26s)
[37/3606] Fetching abseil-cpp-swiftpm
[110/5990] Fetching abseil-cpp-swiftpm, promises
Fetched https://github.com/google/promises.git from cache (0.26s)
[1551/3606] Fetching abseil-cpp-swiftpm
[3607/12747] Fetching abseil-cpp-swiftpm, grpc-swiftpm
Fetched https://github.com/google/GoogleUtilities.git from cache (1.65s)
Fetched https://github.com/firebase/abseil-cpp-SwiftPM.git from cache (1.65s)
Fetched https://github.com/firebase/grpc-SwiftPM.git from cache (1.66s)
Computing version for https://github.com/firebase/grpc-SwiftPM.git
Computed https://github.com/firebase/grpc-SwiftPM.git at 1.28.4 (0.42s)
Fetching https://github.com/firebase/boringssl-SwiftPM.git
[1/8096] Fetching boringssl-swiftpm
Fetched https://github.com/firebase/boringssl-SwiftPM.git from cache (2.30s)
Computing version for https://github.com/firebase/nanopb.git
Computed https://github.com/firebase/nanopb.git at 2.30908.0 (0.42s)
Computing version for https://github.com/google/GoogleDataTransport.git
Computed https://github.com/google/GoogleDataTransport.git at 8.4.0 (0.46s)
Computing version for https://github.com/google/GoogleAppMeasurement.git
Computed https://github.com/google/GoogleAppMeasurement.git at 7.11.1 (0.58s)
Computing version for https://github.com/firebase/leveldb.git
Computed https://github.com/firebase/leveldb.git at 1.22.3 (0.69s)
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.79s)
Computing version for https://github.com/firebase/boringssl-SwiftPM.git
Computed https://github.com/firebase/boringssl-SwiftPM.git at 0.7.2 (0.77s)
Computing version for https://github.com/google/promises.git
Computed https://github.com/google/promises.git at 1.2.12 (1.84s)
Computing version for https://github.com/google/gtm-session-fetcher
Computed https://github.com/google/gtm-session-fetcher at 1.7.2 (0.72s)
Computing version for https://github.com/apple/swift-protobuf
Computed https://github.com/apple/swift-protobuf at 1.25.2 (0.76s)
Computing version for https://github.com/google/GoogleUtilities.git
Computed https://github.com/google/GoogleUtilities.git at 7.12.1 (0.82s)
Creating working copy for https://github.com/apple/swift-protobuf
Working copy of https://github.com/apple/swift-protobuf resolved at 1.25.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/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/GoogleUtilities.git
Working copy of https://github.com/google/GoogleUtilities.git resolved at 7.12.1
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/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/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/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/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/leveldb.git
Working copy of https://github.com/firebase/leveldb.git resolved at 1.22.3
Creating working copy for https://github.com/firebase/nanopb.git
Working copy of https://github.com/firebase/nanopb.git resolved at 2.30908.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
[427319/9828178] Downloading https://dl.google.com/firebase/ios/swiftpm/7.11.1/FirebaseAnalytics.zip, https://dl.google.com/firebase/ios/swiftpm/7.11.1/GoogleAppMeasurementWithoutAdIdSupport.zip
[430611/19320153] Downloading https://dl.google.com/firebase/ios/swiftpm/7.11.1/FirebaseAnalytics.zip, https://dl.google.com/firebase/ios/swiftpm/7.11.1/GoogleAppMeasurementWithoutAdIdSupport.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.37s)
[452005/18941986] Downloading https://dl.google.com/firebase/ios/swiftpm/7.11.1/GoogleAppMeasurementWithoutAdIdSupport.zip, 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
Downloading binary artifact https://dl.google.com/firebase/ios/swiftpm/7.11.1/GoogleAppMeasurement.zip
Downloaded https://dl.google.com/firebase/ios/swiftpm/7.11.1/GoogleAppMeasurementWithoutAdIdSupport.zip (1.45s)
Downloaded https://dl.google.com/firebase/ios/swiftpm/7.11.1/GoogleAppMeasurement.zip (2.10s)
[1/1] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[1/27] Write sources
[4/27] Copying Version.txt
[5/27] Write sources
/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.
/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.
/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 errors generated.
[9/27] Compiling GTMSessionFetcherCore GTMSessionFetcherService.m
[9/27] Compiling GTMSessionFetcherCore GTMSessionUploadFetcher.m
[9/27] Compiling GTMSessionFetcherCore GTMSessionFetcherLogging.m
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.
[9/27] Compiling FirebaseRemoteConfig RCNPersonalization.m
[9/27] Compiling FirebaseRemoteConfig RCNDevice.m
/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>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[9/27] Compiling GTMSessionFetcherCore GTMSessionFetcher.m
[9/27] Compiling FirebaseRemoteConfig RCNUserDefaultsManager.m
[9/27] Write swift-version-24593BA9C3E375BF.txt
[0/1] Planning build
[1/1] Compiling plugin SwiftProtobufPlugin
Building for debugging...
In file included from /host/spi-builder-workspace/.build/checkouts/firebase-ios-sdk/FirebaseRemoteConfig/Sources/RCNConstants3P.m:17:
/host/spi-builder-workspace/.build/checkouts/firebase-ios-sdk/FirebaseRemoteConfig/Sources/Public/FirebaseRemoteConfig/FIRRemoteConfig.h:17:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
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>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
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 errors generated.
[1/19] Compiling FirebaseRemoteConfig RCNUserDefaultsManager.m
[1/19] Compiling FirebaseRemoteConfig RCNConstants3P.m
[1/19] Compiling GTMSessionFetcherCore GTMSessionFetcherLogging.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>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
2 errors generated.
[1/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>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[1/19] Compiling GTMSessionFetcherCore GTMSessionUploadFetcher.m
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.
[1/19] Compiling FirebaseRemoteConfig RCNPersonalization.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>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[1/19] Compiling FirebaseRemoteConfig RCNDevice.m
[1/19] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 5.10 linux