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 v4.5.0 (c756a2), with Swift 6.1 for Wasm on 31 May 2025 01:18:40 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/google/gtm-session-fetcher.git
Reference: v4.5.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               v4.5.0     -> FETCH_HEAD
HEAD is now at c756a29 Version bump for a release
Cloned https://github.com/google/gtm-session-fetcher.git
Revision (git rev-parse @):
c756a29784521063b6a1202907e2cc47f41b667c
SUCCESS checkout https://github.com/google/gtm-session-fetcher.git at v4.5.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" : "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-2":/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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
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/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
[3/14] Compiling GTMSessionFetcherCore GTMSessionUploadFetcher.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 GTMReadMonitorInputStream.m
[3/14] Compiling GTMSessionFetcherCore 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 GTMSessionFetcherLogViewController.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 GTMSessionFetcherFull GTMMIMEDocument.m
[3/14] Compiling GTMSessionFetcherFull GTMGatherInputStream.m
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
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/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
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 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.
[0/11] Compiling GTMSessionFetcherFull resource_bundle_accessor.m
[0/11] Compiling GTMSessionFetcherFull GTMMIMEDocument.m
[0/11] Compiling GTMSessionFetcherCore resource_bundle_accessor.m
[0/11] Compiling GTMSessionFetcherCore GTMSessionUploadFetcher.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
BUILD FAILURE 6.1 wasm