The Swift Package Index logo.Swift Package Index

Build Information

Failed to build GrowingAPM, reference 1.0.2 (31e498), with Swift 6.1 for Wasm on 31 May 2025 02:11:48 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/growingio/growingio-sdk-ios-performance-ext.git
Reference: 1.0.2
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/growingio/growingio-sdk-ios-performance-ext
 * tag               1.0.2      -> FETCH_HEAD
HEAD is now at 31e498d feat: release 1.0.2
Cloned https://github.com/growingio/growingio-sdk-ios-performance-ext.git
Revision (git rev-parse @):
31e498dfa1343b9965514d420796e9ef53f33851
SUCCESS checkout https://github.com/growingio/growingio-sdk-ios-performance-ext.git at 1.0.2
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/growingio/growingio-sdk-ios-performance-ext.git
https://github.com/growingio/growingio-sdk-ios-performance-ext.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "growingio-sdk-ios-utilities",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/growingio/growingio-sdk-ios-utilities.git"
    }
  ],
  "manifest_display_name" : "GrowingAPM",
  "name" : "GrowingAPM",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "10.0"
    }
  ],
  "products" : [
    {
      "name" : "GrowingAPM",
      "targets" : [
        "GrowingAPMCore",
        "GrowingAPMCrashMonitorWrapper",
        "GrowingAPMUIMonitor"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "GrowingAPMCore",
      "targets" : [
        "GrowingAPMCore"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "GrowingAPMCrashMonitor",
      "targets" : [
        "GrowingAPMCrashMonitorWrapper"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "GrowingAPMUIMonitor",
      "targets" : [
        "GrowingAPMUIMonitor"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "GrowingAPMUIMonitor",
      "module_type" : "BinaryTarget",
      "name" : "GrowingAPMUIMonitor",
      "path" : "UIMonitor/GrowingAPMUIMonitor.xcframework",
      "product_memberships" : [
        "GrowingAPM",
        "GrowingAPMUIMonitor"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "GrowingAPMCrashMonitorWrapper",
      "module_type" : "ClangTarget",
      "name" : "GrowingAPMCrashMonitorWrapper",
      "path" : "SwiftPM-Wrap/GrowingAPMCrashMonitor-Wrapper",
      "product_memberships" : [
        "GrowingAPM",
        "GrowingAPMCrashMonitor"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/SwiftPM-Wrap/GrowingAPMCrashMonitor-Wrapper/Resources/GrowingAPMCrashMonitor.bundle/PrivacyInfo.xcprivacy",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "dummy.m"
      ],
      "target_dependencies" : [
        "GrowingAPMCrashMonitor"
      ],
      "type" : "library"
    },
    {
      "c99name" : "GrowingAPMCrashMonitor",
      "module_type" : "BinaryTarget",
      "name" : "GrowingAPMCrashMonitor",
      "path" : "CrashMonitor/GrowingAPMCrashMonitor.xcframework",
      "product_memberships" : [
        "GrowingAPM",
        "GrowingAPMCrashMonitor"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "GrowingAPMCore",
      "module_type" : "ClangTarget",
      "name" : "GrowingAPMCore",
      "path" : "Core",
      "product_dependencies" : [
        "GrowingUtilsTrackerCore"
      ],
      "product_memberships" : [
        "GrowingAPM",
        "GrowingAPMCore"
      ],
      "sources" : [
        "GrowingAPM.m",
        "GrowingAPMConfig.m"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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
Fetching https://github.com/growingio/growingio-sdk-ios-utilities.git
[1/354] Fetching growingio-sdk-ios-utilities
Fetched https://github.com/growingio/growingio-sdk-ios-utilities.git from cache (0.33s)
Computing version for https://github.com/growingio/growingio-sdk-ios-utilities.git
Computed https://github.com/growingio/growingio-sdk-ios-utilities.git at 1.2.4 (0.95s)
Creating working copy for https://github.com/growingio/growingio-sdk-ios-utilities.git
Working copy of https://github.com/growingio/growingio-sdk-ios-utilities.git resolved at 1.2.4
Building for debugging...
[0/5] Copying PrivacyInfo.xcprivacy
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/GrowingAPMCrashMonitorWrapper.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[1/5] Compiling GrowingAPMCrashMonitorWrapper dummy.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/GrowingAPMCrashMonitorWrapper.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[1/5] Compiling GrowingAPMCrashMonitorWrapper resource_bundle_accessor.m
In file included from /host/spi-builder-workspace/Core/GrowingAPM.m:23:
/host/spi-builder-workspace/Core/GrowingAPM.h:20:9: fatal error: 'Foundation/Foundation.h' file not found
   20 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[1/5] Compiling GrowingAPMCore GrowingAPM.m
In file included from /host/spi-builder-workspace/Core/GrowingAPMConfig.m:20:
/host/spi-builder-workspace/Core/GrowingAPMConfig.h:20:9: fatal error: 'Foundation/Foundation.h' file not found
   20 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[1/5] Compiling GrowingAPMCore GrowingAPMConfig.m
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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
[0/1] Planning build
Building for debugging...
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/GrowingAPMCrashMonitorWrapper.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/4] Compiling GrowingAPMCrashMonitorWrapper dummy.m
In file included from /host/spi-builder-workspace/Core/GrowingAPM.m:23:
/host/spi-builder-workspace/Core/GrowingAPM.h:20:9: fatal error: 'Foundation/Foundation.h' file not found
   20 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/4] Compiling GrowingAPMCore GrowingAPM.m
[0/4] Compiling GrowingAPMCrashMonitorWrapper resource_bundle_accessor.m
In file included from /host/spi-builder-workspace/Core/GrowingAPMConfig.m:20:
/host/spi-builder-workspace/Core/GrowingAPMConfig.h:20:9: fatal error: 'Foundation/Foundation.h' file not found
   20 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/4] Compiling GrowingAPMCore GrowingAPMConfig.m
BUILD FAILURE 6.1 wasm