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 v5.0.0 (fb7f27), with Swift 6.1 for Wasm on 7 Jul 2025 20:01:46 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/google/gtm-session-fetcher.git
Reference: v5.0.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.0.0     -> FETCH_HEAD
HEAD is now at fb7f274 Version bump for a release.
Cloned https://github.com/google/gtm-session-fetcher.git
Revision (git rev-parse @):
fb7f2740b1570d2f7599c6bb9531bf4fad6974b7
SUCCESS checkout https://github.com/google/gtm-session-fetcher.git at v5.0.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-4609320-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:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
Status: Image is up to date for registry.gitlab.com/finestructure/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/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.
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 GTMSessionFetcherCore resource_bundle_accessor.m
[3/14] Compiling GTMSessionFetcherFull 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.
[3/14] 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: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[3/14] Compiling GTMSessionFetcherFull GTMMIMEDocument.m
[3/14] Compiling GTMSessionFetcherCore GTMSessionUploadFetcher.m
[3/14] Compiling GTMSessionFetcherFull GTMReadMonitorInputStream.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
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
Status: Image is up to date for registry.gitlab.com/finestructure/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.
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 GTMSessionFetcherService.m
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 GTMSessionFetcherLogging.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
[0/11] Compiling GTMSessionFetcherCore resource_bundle_accessor.m
[0/11] Compiling GTMSessionFetcherFull GTMReadMonitorInputStream.m
[0/11] Compiling GTMSessionFetcherFull GTMMIMEDocument.m
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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/11] Compiling GTMSessionFetcherCore GTMSessionFetcher.m
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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/11] Compiling GTMSessionFetcherCore GTMSessionUploadFetcher.m
BUILD FAILURE 6.1 wasm