The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build PromotedAIMetricsSDK, reference main (a71933), with Swift 6.1 for Wasm on 28 May 2025 19:53:41 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.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:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/promotedai/ios-metrics-sdk.git
https://github.com/promotedai/ios-metrics-sdk.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "firebase-ios-sdk",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "7.9.0",
            "upper_bound" : "8.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/firebase/firebase-ios-sdk"
    },
    {
      "identity" : "gtm-session-fetcher",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.5.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/google/gtm-session-fetcher"
    },
    {
      "identity" : "swift-protobuf",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.15.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-protobuf"
    }
  ],
  "manifest_display_name" : "PromotedAIMetricsSDK",
  "name" : "PromotedAIMetricsSDK",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "10.0"
    }
  ],
  "products" : [
    {
      "name" : "PromotedCore",
      "targets" : [
        "PromotedCore"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "PromotedFetcher",
      "targets" : [
        "PromotedFetcher"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "PromotedMetrics",
      "targets" : [
        "PromotedMetrics"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "PromotedFirebaseAnalytics",
      "targets" : [
        "PromotedFirebaseAnalytics"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "PromotedFirebaseRemoteConfig",
      "targets" : [
        "PromotedFirebaseRemoteConfig"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PromotedMetrics",
      "module_type" : "SwiftTarget",
      "name" : "PromotedMetrics",
      "path" : "Sources/PromotedMetrics",
      "product_memberships" : [
        "PromotedMetrics"
      ],
      "sources" : [
        "MetricsLoggerService+PromotedMetrics.swift",
        "ModuleConfig+PromotedMetrics.swift"
      ],
      "target_dependencies" : [
        "PromotedCore",
        "PromotedFetcher"
      ],
      "type" : "library"
    },
    {
      "c99name" : "PromotedFirebaseRemoteConfigTests",
      "module_type" : "SwiftTarget",
      "name" : "PromotedFirebaseRemoteConfigTests",
      "path" : "Tests/PromotedFirebaseRemoteConfigTests",
      "sources" : [
        "ClientConfigMergeTests.swift",
        "StringCaseConversionTests.swift"
      ],
      "target_dependencies" : [
        "PromotedCore",
        "PromotedCoreTestHelpers",
        "PromotedFirebaseRemoteConfig"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PromotedFirebaseRemoteConfig",
      "module_type" : "SwiftTarget",
      "name" : "PromotedFirebaseRemoteConfig",
      "path" : "Sources/PromotedFirebaseRemoteConfig",
      "product_dependencies" : [
        "FirebaseRemoteConfig"
      ],
      "product_memberships" : [
        "PromotedFirebaseRemoteConfig"
      ],
      "sources" : [
        "ClientConfig+PromotedFirebaseRemoteConfig.swift",
        "FirebaseRemoteConfigService.swift",
        "ModuleConfig+PromotedFirebaseRemoteConfig.swift"
      ],
      "target_dependencies" : [
        "PromotedCore"
      ],
      "type" : "library"
    },
    {
      "c99name" : "PromotedFirebaseAnalytics",
      "module_type" : "SwiftTarget",
      "name" : "PromotedFirebaseAnalytics",
      "path" : "Sources/PromotedFirebaseAnalytics",
      "product_dependencies" : [
        "FirebaseAnalytics"
      ],
      "product_memberships" : [
        "PromotedFirebaseAnalytics"
      ],
      "sources" : [
        "FirebaseAnalyticsConnection.swift",
        "ModuleConfig+PromotedFirebaseAnalytics.swift"
      ],
      "target_dependencies" : [
        "PromotedCore"
      ],
      "type" : "library"
    },
    {
      "c99name" : "PromotedFetcher",
      "module_type" : "SwiftTarget",
      "name" : "PromotedFetcher",
      "path" : "Sources/PromotedFetcher",
      "product_dependencies" : [
        "GTMSessionFetcherCore"
      ],
      "product_memberships" : [
        "PromotedFetcher",
        "PromotedMetrics"
      ],
      "sources" : [
        "GTMSessionFetcherConnection.swift",
        "ModuleConfig+PromotedFetcher.swift"
      ],
      "target_dependencies" : [
        "PromotedCore"
      ],
      "type" : "library"
    },
    {
      "c99name" : "PromotedCoreTests",
      "module_type" : "SwiftTarget",
      "name" : "PromotedCoreTests",
      "path" : "Tests/PromotedCoreTests",
      "sources" : [
        "AnalyticsTests.swift",
        "ClientConfigServiceTests.swift",
        "ClientConfigTests.swift",
        "DequeTests.swift",
        "IDProducerTests.swift",
        "IOSBuildInfoTests.swift",
        "ImpressionTrackerTests.swift",
        "MetricsLoggerTests.swift",
        "ModuleTests.swift",
        "NetworkConnectionTests.swift",
        "OperationMonitorTests.swift",
        "ScrollTrackerTest.swift",
        "UIKitStateTests.swift",
        "ViewTrackerTests.swift",
        "XrayTests.swift"
      ],
      "target_dependencies" : [
        "PromotedCore",
        "PromotedCoreTestHelpers"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PromotedCoreTestHelpers",
      "module_type" : "SwiftTarget",
      "name" : "PromotedCoreTestHelpers",
      "path" : "Sources/PromotedCoreTestHelpers",
      "sources" : [
        "AutoViewState+TestHelpers.swift",
        "FakeAnalyticsConnection.swift",
        "FakeBuildInfo.swift",
        "FakeClock.swift",
        "FakeDeviceInfo.swift",
        "FakeIDMap.swift",
        "FakeNetworkConnection.swift",
        "FakePersistentStore.swift",
        "FakeRemoteConfigConnection.swift",
        "FakeUIState.swift",
        "ModuleTestCase.swift",
        "TestModule.swift",
        "TestOperationMonitorListener.swift"
      ],
      "target_dependencies" : [
        "PromotedCore"
      ],
      "type" : "library"
    },
    {
      "c99name" : "PromotedCore",
      "module_type" : "SwiftTarget",
      "name" : "PromotedCore",
      "path" : "Sources/PromotedCore",
      "product_dependencies" : [
        "SwiftProtobuf"
      ],
      "product_memberships" : [
        "PromotedCore",
        "PromotedFetcher",
        "PromotedMetrics",
        "PromotedFirebaseAnalytics",
        "PromotedFirebaseRemoteConfig"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/PromotedCore/Resources/Version.txt",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "Analytics.swift",
        "Base/BuildInfo.swift",
        "Base/Clock.swift",
        "Base/Deque.swift",
        "Base/Dictionary+Promoted.swift",
        "Base/OSLog+Promoted.swift",
        "Base/PendingLogMessages.swift",
        "Base/TabularLogFormatter.swift",
        "Base/UIState.swift",
        "Base/UIViewController+Promoted.swift",
        "Base/UUID+Promoted.swift",
        "Base/WeakArray.swift",
        "ClientConfig/ClientConfig.swift",
        "ClientConfig/ClientConfigService.swift",
        "ClientConfig/RemoteConfigConnection.swift",
        "ClientConfig/_ObjCClientConfig.swift",
        "ErrorHandling/ErrorDetails.swift",
        "ErrorHandling/ErrorHandler.swift",
        "ErrorHandling/ErrorModalViewController.swift",
        "ErrorHandling/Errors.swift",
        "Impression/ImpressionTracker.swift",
        "Impression/ScrollTracker.swift",
        "IndexPathDataSource.swift",
        "MetricsLogger/MetricsLogger+Action.swift",
        "MetricsLogger/MetricsLogger+AutoView.swift",
        "MetricsLogger/MetricsLogger+Diagnostics.swift",
        "MetricsLogger/MetricsLogger+EventFields.swift",
        "MetricsLogger/MetricsLogger+IdentifierProvenances.swift",
        "MetricsLogger/MetricsLogger+Impression.swift",
        "MetricsLogger/MetricsLogger+Validation.swift",
        "MetricsLogger/MetricsLogger+View.swift",
        "MetricsLogger/MetricsLogger.swift",
        "MetricsLoggerService.swift",
        "Model/ActionType.swift",
        "Model/AutoViewState.swift",
        "Model/Cart.swift",
        "Model/CartContent.swift",
        "Model/CollectionInteraction.swift",
        "Model/Content.swift",
        "Model/CurrencyCode.swift",
        "Model/DeviceInfo.swift",
        "Model/DeviceType.swift",
        "Model/ID.swift",
        "Model/IDMap.swift",
        "Model/IDProducer.swift",
        "Model/ImpressionSourceType.swift",
        "Model/MessageRepresentable.swift",
        "Model/Money.swift",
        "Model/UseCase.swift",
        "Module.swift",
        "NetworkConnection.swift",
        "OperationMonitor.swift",
        "PersistentStore.swift",
        "SchemaProtos/proto_common_common.pb.swift",
        "SchemaProtos/proto_delivery_blender.pb.swift",
        "SchemaProtos/proto_delivery_delivery.pb.swift",
        "SchemaProtos/proto_delivery_execution.pb.swift",
        "SchemaProtos/proto_event_event.pb.swift",
        "ViewTracker.swift",
        "Xray.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/google/gtm-session-fetcher
Fetching https://github.com/apple/swift-protobuf
Fetching https://github.com/firebase/firebase-ios-sdk
[1/4483] Fetching gtm-session-fetcher
[4484/43452] Fetching gtm-session-fetcher, swift-protobuf
[13447/414315] Fetching gtm-session-fetcher, swift-protobuf, firebase-ios-sdk
Fetched https://github.com/google/gtm-session-fetcher from cache (34.12s)
Fetched https://github.com/apple/swift-protobuf from cache (34.21s)
Fetched https://github.com/firebase/firebase-ios-sdk from cache (34.67s)
Computing version for https://github.com/firebase/firebase-ios-sdk
Computed https://github.com/firebase/firebase-ios-sdk at 7.11.1 (36.29s)
Fetching https://github.com/firebase/grpc-SwiftPM.git
Fetching https://github.com/google/GoogleUtilities.git
Fetching https://github.com/firebase/abseil-cpp-SwiftPM.git
Fetching https://github.com/firebase/leveldb.git
Fetching https://github.com/google/GoogleDataTransport.git
Fetching https://github.com/firebase/nanopb.git
[1/8285] Fetching nanopb
[1741/11639] Fetching nanopb, leveldb
[2310/17513] Fetching nanopb, leveldb, googledatatransport
[2931/22590] Fetching nanopb, leveldb, googledatatransport, googleutilities
[16388/27079] Fetching nanopb, leveldb, googledatatransport, googleutilities, abseil-cpp-swiftpm
[24163/36220] Fetching nanopb, leveldb, googledatatransport, googleutilities, abseil-cpp-swiftpm, grpc-swiftpm
Fetched https://github.com/google/GoogleUtilities.git from cache (1.84s)
Fetched https://github.com/google/GoogleDataTransport.git from cache (1.83s)
Fetched https://github.com/firebase/leveldb.git from cache (1.84s)
Fetched https://github.com/firebase/abseil-cpp-SwiftPM.git from cache (1.85s)
Fetched https://github.com/firebase/nanopb.git from cache (1.84s)
Fetching https://github.com/google/GoogleAppMeasurement.git
[7039/9141] Fetching grpc-swiftpm
Fetching https://github.com/google/promises.git
[9142/9603] Fetching grpc-swiftpm, googleappmeasurement
[9604/12045] Fetching grpc-swiftpm, googleappmeasurement, promises
Fetched https://github.com/firebase/grpc-SwiftPM.git from cache (2.41s)
Fetched https://github.com/google/GoogleAppMeasurement.git from cache (0.61s)
Fetched https://github.com/google/promises.git from cache (0.61s)
Computing version for https://github.com/firebase/grpc-SwiftPM.git
Computed https://github.com/firebase/grpc-SwiftPM.git at 1.28.4 (3.52s)
Fetching https://github.com/firebase/boringssl-SwiftPM.git
[1/8166] Fetching boringssl-swiftpm
Fetched https://github.com/firebase/boringssl-SwiftPM.git from cache (4.48s)
Computing version for https://github.com/firebase/nanopb.git
Computed https://github.com/firebase/nanopb.git at 2.30908.0 (5.42s)
Computing version for https://github.com/google/GoogleDataTransport.git
Computed https://github.com/google/GoogleDataTransport.git at 8.4.0 (1.23s)
Computing version for https://github.com/google/GoogleAppMeasurement.git
Computed https://github.com/google/GoogleAppMeasurement.git at 7.11.1 (0.90s)
Computing version for https://github.com/firebase/abseil-cpp-SwiftPM.git
Computed https://github.com/firebase/abseil-cpp-SwiftPM.git at 0.20200225.4 (1.21s)
Computing version for https://github.com/firebase/boringssl-SwiftPM.git
Computed https://github.com/firebase/boringssl-SwiftPM.git at 0.7.2 (2.17s)
Computing version for https://github.com/firebase/leveldb.git
Computed https://github.com/firebase/leveldb.git at 1.22.5 (0.81s)
Computing version for https://github.com/google/promises.git
Computed https://github.com/google/promises.git at 1.2.12 (3.63s)
Computing version for https://github.com/google/gtm-session-fetcher
Computed https://github.com/google/gtm-session-fetcher at 1.7.2 (0.81s)
Computing version for https://github.com/apple/swift-protobuf
Computed https://github.com/apple/swift-protobuf at 1.29.0 (0.72s)
Computing version for https://github.com/google/GoogleUtilities.git
Computed https://github.com/google/GoogleUtilities.git at 7.13.3 (0.92s)
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/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
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/promises.git
Working copy of https://github.com/google/promises.git resolved at 1.2.12
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/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/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.13.3
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
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
[1369/9450011] Downloading https://dl.google.com/firebase/ios/swiftpm/7.11.1/GoogleAppMeasurementWithoutAdIdSupport.zip
[3949913/9828178] Downloading https://dl.google.com/firebase/ios/swiftpm/7.11.1/GoogleAppMeasurementWithoutAdIdSupport.zip, https://dl.google.com/firebase/ios/swiftpm/7.11.1/FirebaseAnalytics.zip
Downloaded https://dl.google.com/firebase/ios/swiftpm/7.11.1/FirebaseAnalytics.zip (1.35s)
[1369/9491975] Downloading 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.72s)
Downloaded https://dl.google.com/firebase/ios/swiftpm/7.11.1/GoogleAppMeasurement.zip (3.76s)
[1/1] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[1/28] Write sources
[7/28] Copying PrivacyInfo.xcprivacy
[8/28] Copying Version.txt
[8/28] Write sources
/host/spi-builder-workspace/.build/checkouts/gtm-session-fetcher/Source/GTMSessionFetcherService.m:17:2: error: "This file requires ARC support."
   17 | #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
  262 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
2 errors generated.
[10/28] Compiling GTMSessionFetcherCore GTMSessionFetcherService.m
/host/spi-builder-workspace/.build/checkouts/gtm-session-fetcher/Source/GTMSessionUploadFetcher.m:17:2: error: "This file requires ARC support."
   17 | #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
  262 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
2 errors generated.
[10/28] 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
   17 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[10/28] Compiling FirebaseRemoteConfig RCNPersonalization.m
[10/28] Compiling FirebaseRemoteConfig RCNDevice.m
/host/spi-builder-workspace/.build/checkouts/gtm-session-fetcher/Source/GTMSessionFetcher.m:17:2: error: "This file requires ARC support."
   17 | #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
  262 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[10/28] Compiling GTMSessionFetcherCore GTMSessionFetcher.m
/host/spi-builder-workspace/.build/checkouts/gtm-session-fetcher/Source/GTMSessionFetcherLogging.m:17:2: error: "This file requires ARC support."
   17 | #error "This file requires ARC support."
      |  ^
[10/28] Compiling GTMSessionFetcherCore GTMSessionFetcherLogging.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
   17 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[10/28] Compiling FirebaseRemoteConfig RCNUserDefaultsManager.m
[10/28] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[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
   17 | #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
   17 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
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
   17 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[1/19] Compiling FirebaseRemoteConfig RCNUserDefaultsManager.m
[1/19] Compiling FirebaseRemoteConfig RCNDevice.m
[1/19] Compiling FirebaseRemoteConfig RCNConstants3P.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
   17 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[1/19] Compiling FirebaseRemoteConfig RCNPersonalization.m
[1/19] Compiling GTMSessionFetcherCore GTMSessionUploadFetcher.m
[1/19] Compiling FirebaseRemoteConfig RCNConfigSettings.m
[1/19] Compiling FirebaseRemoteConfig RCNConfigExperiment.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
   17 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[1/19] Compiling FirebaseRemoteConfig RCNConfigFetch.m
BUILD FAILURE 6.1 wasm