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 GTMSessionFetcher, reference main (97d644), with Swift 6.1 for Linux on 16 Jun 2025 19:18:44 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/google/gtm-session-fetcher.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/gtm-session-fetcher
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 97d6440 Group major/minor updates for fewer PRs
Cloned https://github.com/google/gtm-session-fetcher.git
Revision (git rev-parse @):
97d6440ffe170056385a9c294630f5c3a8250608
SUCCESS checkout https://github.com/google/gtm-session-fetcher.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/google/gtm-session-fetcher.git
https://github.com/google/gtm-session-fetcher.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "GTMSessionFetcher",
  "name" : "GTMSessionFetcher",
  "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" : "GTMSessionFetcher",
      "targets" : [
        "GTMSessionFetcherCore",
        "GTMSessionFetcherFull"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "GTMSessionFetcherCore",
      "targets" : [
        "GTMSessionFetcherCore"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "GTMSessionFetcherFull",
      "targets" : [
        "GTMSessionFetcherFull"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "GTMSessionFetcherLogView",
      "targets" : [
        "GTMSessionFetcherLogView"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "swift_test",
      "module_type" : "SwiftTarget",
      "name" : "swift-test",
      "path" : "SwiftPMTests/SwiftImportTest",
      "sources" : [
        "ImportTests.swift"
      ],
      "target_dependencies" : [
        "GTMSessionFetcherCore",
        "GTMSessionFetcherFull",
        "GTMSessionFetcherLogView"
      ],
      "type" : "test"
    },
    {
      "c99name" : "objc_import_test",
      "module_type" : "ClangTarget",
      "name" : "objc-import-test",
      "path" : "SwiftPMTests/ObjCImportTest",
      "sources" : [
        "HeadersImportTests.m",
        "ModuleImportTests.m"
      ],
      "target_dependencies" : [
        "GTMSessionFetcherCore",
        "GTMSessionFetcherFull",
        "GTMSessionFetcherLogView"
      ],
      "type" : "test"
    },
    {
      "c99name" : "GTMSessionFetcherUserAgentTests",
      "module_type" : "ClangTarget",
      "name" : "GTMSessionFetcherUserAgentTests",
      "path" : "UnitTests",
      "sources" : [
        "GTMSessionFetcherUserAgentTest.m"
      ],
      "target_dependencies" : [
        "GTMSessionFetcherCore"
      ],
      "type" : "test"
    },
    {
      "c99name" : "GTMSessionFetcherLogView",
      "module_type" : "ClangTarget",
      "name" : "GTMSessionFetcherLogView",
      "path" : "Sources/LogView",
      "product_memberships" : [
        "GTMSessionFetcherLogView"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/LogView/Resources/PrivacyInfo.xcprivacy",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "GTMSessionFetcherLogViewController.m"
      ],
      "target_dependencies" : [
        "GTMSessionFetcherCore"
      ],
      "type" : "library"
    },
    {
      "c99name" : "GTMSessionFetcherFull",
      "module_type" : "ClangTarget",
      "name" : "GTMSessionFetcherFull",
      "path" : "Sources/Full",
      "product_memberships" : [
        "GTMSessionFetcher",
        "GTMSessionFetcherFull"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/Full/Resources/PrivacyInfo.xcprivacy",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "GTMGatherInputStream.m",
        "GTMMIMEDocument.m",
        "GTMReadMonitorInputStream.m"
      ],
      "target_dependencies" : [
        "GTMSessionFetcherCore"
      ],
      "type" : "library"
    },
    {
      "c99name" : "GTMSessionFetcherCoreTests",
      "module_type" : "ClangTarget",
      "name" : "GTMSessionFetcherCoreTests",
      "path" : "UnitTests",
      "sources" : [
        "FetcherNotificationsCounter.m",
        "GTMGatherInputStreamTest.m",
        "GTMHTTPServer.m",
        "GTMMIMEDocumentTest.m",
        "GTMReadMonitorInputStreamTest.m",
        "GTMSessionFetcherChunkedUploadTest.m",
        "GTMSessionFetcherCookieTest.m",
        "GTMSessionFetcherFetchingTest.m",
        "GTMSessionFetcherServiceTest.m",
        "GTMSessionFetcherTestServer.m",
        "GTMSessionFetcherUtilityTest.m",
        "SubstituteUIApplication.m"
      ],
      "target_dependencies" : [
        "GTMSessionFetcherFull",
        "GTMSessionFetcherCore"
      ],
      "type" : "test"
    },
    {
      "c99name" : "GTMSessionFetcherCore",
      "module_type" : "ClangTarget",
      "name" : "GTMSessionFetcherCore",
      "path" : "Sources/Core",
      "product_memberships" : [
        "GTMSessionFetcher",
        "GTMSessionFetcherCore",
        "GTMSessionFetcherFull",
        "GTMSessionFetcherLogView"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/Core/Resources/PrivacyInfo.xcprivacy",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "GTMSessionFetcher.m",
        "GTMSessionFetcherLogging.m",
        "GTMSessionFetcherService.m",
        "GTMSessionUploadFetcher.m"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
warning: 'spi-builder-workspace': ignoring target 'objc-import-test' in package 'spi-builder-workspace'; C language in tests is not yet supported
warning: 'spi-builder-workspace': ignoring target 'GTMSessionFetcherUserAgentTests' in package 'spi-builder-workspace'; C language in tests is not yet supported
warning: 'spi-builder-workspace': ignoring target 'GTMSessionFetcherCoreTests' 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:basic-6.1-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.1-latest: Pulling from finestructure/spi-images
Digest: sha256:2e2b3aca8600f890617c2faa770b70e33c1dfd303d6f92b308423b89ef6bde64
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-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
warning: 'spi-builder-workspace': ignoring target 'GTMSessionFetcherUserAgentTests' in package 'spi-builder-workspace'; C language in tests is not yet supported
warning: 'spi-builder-workspace': ignoring target 'GTMSessionFetcherCoreTests' in package 'spi-builder-workspace'; C language in tests is not yet supported
Building for debugging...
[0/14] Copying PrivacyInfo.xcprivacy
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/GTMSessionFetcherLogView.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[3/14] Compiling GTMSessionFetcherLogView resource_bundle_accessor.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/GTMSessionFetcherFull.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[3/14] Compiling GTMSessionFetcherFull GTMReadMonitorInputStream.m
[3/14] Compiling GTMSessionFetcherCore GTMSessionUploadFetcher.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/GTMSessionFetcherFull.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Found[3/14] Compiling GTMSessionFetcherFull resource_bundle_accessor.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/GTMSessionFetcherFull.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[3/14] Compiling GTMSessionFetcherFull GTMGatherInputStream.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/GTMSessionFetcherLogView.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[3/14] Compiling GTMSessionFetcherLogView GTMSessionFetcherLogViewController.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/GTMSessionFetcherCore.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[3/14] Compiling GTMSessionFetcherCore GTMSessionFetcherService.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/GTMSessionFetcherFull.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[3/14] Compiling GTMSessionFetcherFull GTMMIMEDocument.m
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:2e2b3aca8600f890617c2faa770b70e33c1dfd303d6f92b308423b89ef6bde64
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-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
warning: 'spi-builder-workspace': ignoring target 'GTMSessionFetcherUserAgentTests' in package 'spi-builder-workspace'; C language in tests is not yet supported
warning: 'spi-builder-workspace': ignoring target 'GTMSessionFetcherCoreTests' 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/GTMSessionFetcherFull.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/11] Compiling GTMSessionFetcherFull GTMMIMEDocument.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/GTMSessionFetcherCore.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/11] Compiling GTMSessionFetcherCore GTMSessionFetcherLogging.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/GTMSessionFetcherFull.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #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/GTMSessionFetcherFull.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/11] Compiling GTMSessionFetcherFull GTMReadMonitorInputStream.m
[0/11] Compiling GTMSessionFetcherFull resource_bundle_accessor.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/GTMSessionFetcherCore.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/11] Compiling GTMSessionFetcherCore resource_bundle_accessor.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/GTMSessionFetcherCore.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/11] Compiling GTMSessionFetcherCore GTMSessionFetcherService.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/GTMSessionFetcherCore.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/11] Compiling GTMSessionFetcherCore GTMSessionFetcher.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/GTMSessionFetcherCore.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/11] Compiling GTMSessionFetcherCore GTMSessionUploadFetcher.m
BUILD FAILURE 6.1 linux