The Swift Package Index logo.Swift Package Index

Build Information

Failed to build GTMSessionFetcher, reference v5.2.0 (0be208), with Swift 6.1 for Wasm on 23 Mar 2026 17:34:15 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/google/gtm-session-fetcher.git
Reference: v5.2.0
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
 * tag               v5.2.0     -> FETCH_HEAD
HEAD is now at 0be2088 Version bump for a release.
Cloned https://github.com/google/gtm-session-fetcher.git
Revision (git rev-parse @):
0be208810d2e8b90fcd2464d1816723b47819fe7
SUCCESS checkout https://github.com/google/gtm-session-fetcher.git at v5.2.0
========================================
Build
========================================
Selected platform:         wasm
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" : "15.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "tvos",
      "version" : "15.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.8"
}
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-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/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 swiftpackageindex/spi-images
Digest: sha256:a7b4552feb759c014e60bb7d16019351f72ce4b9f19dbbaa081e1f5551c90672
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-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/wasm32-unknown-wasi/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
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/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 GTMMIMEDocument.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/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/wasm32-unknown-wasi/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 resource_bundle_accessor.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/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
[3/14] Compiling GTMSessionFetcherCore GTMSessionUploadFetcher.m
[3/14] Compiling GTMSessionFetcherCore resource_bundle_accessor.m
In file included from [3/14] Compiling GTMSessionFetcherFull GTMGatherInputStream.m
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:a7b4552feb759c014e60bb7d16019351f72ce4b9f19dbbaa081e1f5551c90672
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-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/wasm32-unknown-wasi/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/wasm32-unknown-wasi/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 resource_bundle_accessor.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/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.
[0/11] Compiling GTMSessionFetcherLogView resource_bundle_accessor.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/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.
[0/11] Compiling GTMSessionFetcherLogView GTMSessionFetcherLogViewController.m
[0/11] Compiling GTMSessionFetcherCore GTMSessionUploadFetcher.m
[0/11] Compiling GTMSessionFetcherFull GTMMIMEDocument.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/GTMSessionFetcherFull.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/11] Compiling GTMSessionFetcherFull GTMGatherInputStream.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/GTMSessionFetcherFull.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: [0/11] Compiling GTMSessionFetcherFull GTMReadMonitorInputStream.m
BUILD FAILURE 6.1 wasm