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 GoogleDataTransport, reference main (398227), with Swift 6.1 for Android on 29 May 2025 13:57:31 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/google/GoogleDataTransport.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/google/GoogleDataTransport
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 3982279 Use Xcode 16 in CI (#159)
Cloned https://github.com/google/GoogleDataTransport.git
Revision (git rev-parse @):
398227941b1b83179d3241f72842e2b1e23663f4
SUCCESS checkout https://github.com/google/GoogleDataTransport.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/google/GoogleDataTransport.git
https://github.com/google/GoogleDataTransport.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "c_language_standard" : "c99",
  "cxx_language_standard" : "gnu++14",
  "dependencies" : [
    {
      "identity" : "nanopb",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.30910.0",
            "upper_bound" : "2.30911.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/firebase/nanopb.git"
    },
    {
      "identity" : "promises",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.4.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/google/promises.git"
    }
  ],
  "manifest_display_name" : "GoogleDataTransport",
  "name" : "GoogleDataTransport",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "12.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "7.0"
    }
  ],
  "products" : [
    {
      "name" : "GoogleDataTransport",
      "targets" : [
        "GoogleDataTransport"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "swift_test",
      "module_type" : "SwiftTarget",
      "name" : "swift-test",
      "path" : "SwiftPMTests/swift-test",
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "GoogleDataTransport"
      ],
      "type" : "test"
    },
    {
      "c99name" : "objc_import_test",
      "module_type" : "ClangTarget",
      "name" : "objc-import-test",
      "path" : "SwiftPMTests/objc-import-test",
      "sources" : [
        "objc-header.m",
        "objc-module.m"
      ],
      "target_dependencies" : [
        "GoogleDataTransport"
      ],
      "type" : "test"
    },
    {
      "c99name" : "GoogleDataTransport",
      "module_type" : "ClangTarget",
      "name" : "GoogleDataTransport",
      "path" : "GoogleDataTransport",
      "product_dependencies" : [
        "nanopb",
        "FBLPromises"
      ],
      "product_memberships" : [
        "GoogleDataTransport"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/GoogleDataTransport/Resources/PrivacyInfo.xcprivacy",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "GDTCCTLibrary/GDTCCTCompressionHelper.m",
        "GDTCCTLibrary/GDTCCTNanopbHelpers.m",
        "GDTCCTLibrary/GDTCCTURLSessionDataResponse.m",
        "GDTCCTLibrary/GDTCCTUploadOperation.m",
        "GDTCCTLibrary/GDTCCTUploader.m",
        "GDTCCTLibrary/GDTCOREvent+GDTCCTSupport.m",
        "GDTCCTLibrary/GDTCOREvent+GDTMetricsSupport.m",
        "GDTCCTLibrary/GDTCORMetrics+GDTCCTSupport.m",
        "GDTCCTLibrary/Protogen/nanopb/cct.nanopb.c",
        "GDTCCTLibrary/Protogen/nanopb/client_metrics.nanopb.c",
        "GDTCCTLibrary/Protogen/nanopb/compliance.nanopb.c",
        "GDTCCTLibrary/Protogen/nanopb/external_prequest_context.nanopb.c",
        "GDTCCTLibrary/Protogen/nanopb/external_privacy_context.nanopb.c",
        "GDTCORLibrary/GDTCORAssert.m",
        "GDTCORLibrary/GDTCORClock.m",
        "GDTCORLibrary/GDTCORConsoleLogger.m",
        "GDTCORLibrary/GDTCORDirectorySizeTracker.m",
        "GDTCORLibrary/GDTCOREndpoints.m",
        "GDTCORLibrary/GDTCOREvent.m",
        "GDTCORLibrary/GDTCORFlatFileStorage+Promises.m",
        "GDTCORLibrary/GDTCORFlatFileStorage.m",
        "GDTCORLibrary/GDTCORLifecycle.m",
        "GDTCORLibrary/GDTCORLogSourceMetrics.m",
        "GDTCORLibrary/GDTCORMetrics.m",
        "GDTCORLibrary/GDTCORMetricsController.m",
        "GDTCORLibrary/GDTCORMetricsMetadata.m",
        "GDTCORLibrary/GDTCORPlatform.m",
        "GDTCORLibrary/GDTCORProductData.m",
        "GDTCORLibrary/GDTCORReachability.m",
        "GDTCORLibrary/GDTCORRegistrar.m",
        "GDTCORLibrary/GDTCORStorageEventSelector.m",
        "GDTCORLibrary/GDTCORStorageMetadata.m",
        "GDTCORLibrary/GDTCORTransformer.m",
        "GDTCORLibrary/GDTCORTransport.m",
        "GDTCORLibrary/GDTCORUploadBatch.m",
        "GDTCORLibrary/GDTCORUploadCoordinator.m"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
warning: 'spi-builder-workspace': ignoring target 'objc-import-test' in package 'spi-builder-workspace'; C language in tests is not yet supported
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/firebase/nanopb.git
Fetching https://github.com/google/promises.git
[1/2442] Fetching promises
[2443/10727] Fetching promises, nanopb
Fetched https://github.com/google/promises.git from cache (0.59s)
Fetched https://github.com/firebase/nanopb.git from cache (0.60s)
Computing version for https://github.com/google/promises.git
Computed https://github.com/google/promises.git at 2.4.0 (2.96s)
Computing version for https://github.com/firebase/nanopb.git
Computed https://github.com/firebase/nanopb.git at 2.30910.0 (2.37s)
Creating working copy for https://github.com/firebase/nanopb.git
Working copy of https://github.com/firebase/nanopb.git resolved at 2.30910.0
Creating working copy for https://github.com/google/promises.git
Working copy of https://github.com/google/promises.git resolved at 2.4.0
warning: 'spi-builder-workspace': ignoring target 'objc-import-test' in package 'spi-builder-workspace'; C language in tests is not yet supported
Building for debugging...
[0/38] Copying PrivacyInfo.xcprivacy
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/GoogleDataTransport.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[1/38] Compiling GDTCORStorageEventSelector.m
[1/38] Compiling GoogleDataTransport resource_bundle_accessor.m
[1/38] Compiling GDTCORRegistrar.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/GoogleDataTransport.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[1/38] Compiling GDTCORTransformer.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/GoogleDataTransport.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[1/38] Compiling GDTCORTransport.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/GoogleDataTransport.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[1/38] Compiling GDTCORUploadCoordinator.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/GoogleDataTransport.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/GoogleDataTransport.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[1/38] Compiling GDTCORStorageMetadata.m
[1/38] Compiling GDTCORUploadBatch.m
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
warning: 'spi-builder-workspace': ignoring target 'objc-import-test' in package 'spi-builder-workspace'; C language in tests is not yet supported
[0/1] Planning build
Building for debugging...
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/GoogleDataTransport.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/37] Compiling GDTCORUploadBatch.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/GoogleDataTransport.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/37] Compiling GDTCORTransformer.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/GoogleDataTransport.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/37] Compiling GDTCORStorageEventSelector.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/GoogleDataTransport.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/37] Compiling GDTCORUploadCoordinator.m
[0/37] Compiling GDTCORTransport.m
[0/37] Compiling GDTCORStorageMetadata.m
[0/37] Compiling GDTCORRegistrar.m
[0/37] Compiling GoogleDataTransport resource_bundle_accessor.m
BUILD FAILURE 6.1 android