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.0 for Linux on 16 Apr 2025 20:41:08 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-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/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:         linux
Swift version:             6.0
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-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -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
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:9029076bb687edc160a3d5201c89e92dd9fa7309f33f090c4234365c83366c31
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/google/promises.git
Fetching https://github.com/firebase/nanopb.git
[1/8285] Fetching nanopb
[167/10703] Fetching nanopb, promises
Fetched https://github.com/google/promises.git from cache (0.31s)
[5469/8285] Fetching nanopb
Fetched https://github.com/firebase/nanopb.git from cache (0.52s)
Computing version for https://github.com/google/promises.git
Computed https://github.com/google/promises.git at 2.4.0 (2.25s)
Computing version for https://github.com/firebase/nanopb.git
Computed https://github.com/firebase/nanopb.git at 2.30910.0 (1.66s)
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/x86_64-unknown-linux-gnu/debug/GoogleDataTransport.build/DerivedSources/resource_bundle_accessor.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
    1 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[1/38] Compiling GoogleDataTransport resource_bundle_accessor.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/GoogleDataTransport.build/DerivedSources/resource_bundle_accessor.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
    1 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[1/38] Compiling GDTCORUploadCoordinator.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/GoogleDataTransport.build/DerivedSources/resource_bundle_accessor.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
    1 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[1/38] Compiling GDTCORUploadBatch.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/GoogleDataTransport.build/DerivedSources/resource_bundle_accessor.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
    1 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[1/38] Compiling GDTCORRegistrar.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/GoogleDataTransport.build/DerivedSources/resource_bundle_accessor.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
    1 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/GoogleDataTransport.build/DerivedSources/resource_bundle_accessor.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
    1 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[1/38] Compiling GDTCORStorageEventSelector.m
[1/38] Compiling GDTCORTransport.m
[1/38] Compiling GDTCORStorageMetadata.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/GoogleDataTransport.build/DerivedSources/resource_bundle_accessor.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
    1 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[1/38] Compiling GDTCORTransformer.m
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:9029076bb687edc160a3d5201c89e92dd9fa7309f33f090c4234365c83366c31
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-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/x86_64-unknown-linux-gnu/debug/GoogleDataTransport.build/DerivedSources/resource_bundle_accessor.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
    1 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/37] Compiling GoogleDataTransport resource_bundle_accessor.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/GoogleDataTransport.build/DerivedSources/resource_bundle_accessor.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
    1 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/37] Compiling GDTCORRegistrar.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/GoogleDataTransport.build/DerivedSources/resource_bundle_accessor.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
    1 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/37] Compiling GDTCORStorageMetadata.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/GoogleDataTransport.build/DerivedSources/resource_bundle_accessor.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
    1 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/37] Compiling GDTCORTransformer.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/GoogleDataTransport.build/DerivedSources/resource_bundle_accessor.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
    1 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/37] Compiling GDTCORUploadBatch.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/GoogleDataTransport.build/DerivedSources/resource_bundle_accessor.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
    1 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/37] Compiling GDTCORUploadCoordinator.m
[0/37] Compiling GDTCORStorageEventSelector.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/GoogleDataTransport.build/DerivedSources/resource_bundle_accessor.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
    1 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/37] Compiling GDTCORTransport.m
BUILD FAILURE 6.0 linux