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 SnapshotPreviews, reference main (c3dab4), with Swift 6.1 for Wasm on 5 Sep 2025 21:48:55 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/EmergeTools/SnapshotPreviews.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/EmergeTools/SnapshotPreviews
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at c3dab4a Faster test running (#244)
Cloned https://github.com/EmergeTools/SnapshotPreviews.git
Revision (git rev-parse @):
c3dab4ae72ba7066dade8f0c9e6433a28f4b8a37
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/EmergeTools/SnapshotPreviews.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/EmergeTools/SnapshotPreviews.git
https://github.com/EmergeTools/SnapshotPreviews.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "cxx_language_standard" : "c++11",
  "dependencies" : [
    {
      "identity" : "flyingfox",
      "requirement" : {
        "exact" : [
          "0.16.0"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swhitty/FlyingFox.git"
    },
    {
      "identity" : "accessibilitysnapshot",
      "requirement" : {
        "exact" : [
          "1.0.2"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/EmergeTools/AccessibilitySnapshot.git"
    },
    {
      "identity" : "simpledebugger",
      "requirement" : {
        "exact" : [
          "1.0.0"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/EmergeTools/SimpleDebugger.git"
    }
  ],
  "manifest_display_name" : "SnapshotPreviews",
  "name" : "SnapshotPreviews",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "watchos",
      "version" : "9.0"
    }
  ],
  "products" : [
    {
      "name" : "PreviewGallery",
      "targets" : [
        "PreviewGallery"
      ],
      "type" : {
        "library" : [
          "static"
        ]
      }
    },
    {
      "name" : "SnapshottingTests",
      "targets" : [
        "SnapshottingTests"
      ],
      "type" : {
        "library" : [
          "static"
        ]
      }
    },
    {
      "name" : "SnapshotPreferences",
      "targets" : [
        "SnapshotPreferences"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SnapshotPreviewsCore",
      "targets" : [
        "SnapshotPreviewsCore"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Snapshotting",
      "targets" : [
        "Snapshotting"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SnapshottingTestsObjc",
      "module_type" : "ClangTarget",
      "name" : "SnapshottingTestsObjc",
      "path" : "Sources/SnapshottingTestsObjc",
      "product_dependencies" : [
        "SimpleDebugger"
      ],
      "product_memberships" : [
        "SnapshottingTests"
      ],
      "sources" : [
        "EMGInvocationCreator.mm"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SnapshottingTests",
      "module_type" : "SwiftTarget",
      "name" : "SnapshottingTests",
      "path" : "Sources/SnapshottingTests",
      "product_memberships" : [
        "SnapshottingTests"
      ],
      "sources" : [
        "AccessibilityPreviewTest.swift",
        "DiscoveredPreview+PreviewType.swift",
        "PreviewBaseTest.swift",
        "PreviewFilters.swift",
        "PreviewLayoutTest.swift",
        "SnapshotTest.swift"
      ],
      "target_dependencies" : [
        "SnapshotPreviewsCore",
        "SnapshottingTestsObjc"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SnapshottingSwift",
      "module_type" : "SwiftTarget",
      "name" : "SnapshottingSwift",
      "path" : "Sources/SnapshottingSwift",
      "product_dependencies" : [
        "FlyingFox"
      ],
      "product_memberships" : [
        "Snapshotting"
      ],
      "sources" : [
        "Initializer.swift",
        "Snapshots.swift"
      ],
      "target_dependencies" : [
        "SnapshotPreviewsCore"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Snapshotting",
      "module_type" : "ClangTarget",
      "name" : "Snapshotting",
      "path" : "Sources/Snapshotting",
      "product_memberships" : [
        "Snapshotting"
      ],
      "sources" : [
        "Initializer.m"
      ],
      "target_dependencies" : [
        "SnapshottingSwift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SnapshotSharedModels",
      "module_type" : "SwiftTarget",
      "name" : "SnapshotSharedModels",
      "path" : "Sources/SnapshotSharedModels",
      "product_memberships" : [
        "PreviewGallery",
        "SnapshottingTests",
        "SnapshotPreferences",
        "SnapshotPreviewsCore",
        "Snapshotting"
      ],
      "sources" : [
        "RenderingMode.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SnapshotPreviewsTests",
      "module_type" : "SwiftTarget",
      "name" : "SnapshotPreviewsTests",
      "path" : "Tests/SnapshotPreviewsTests",
      "sources" : [
        "ETBrowserTests.swift"
      ],
      "target_dependencies" : [
        "SnapshotPreviewsCore"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SnapshotPreviewsCore",
      "module_type" : "SwiftTarget",
      "name" : "SnapshotPreviewsCore",
      "path" : "Sources/SnapshotPreviewsCore",
      "product_dependencies" : [
        "AccessibilitySnapshotCore"
      ],
      "product_memberships" : [
        "PreviewGallery",
        "SnapshottingTests",
        "SnapshotPreviewsCore",
        "Snapshotting"
      ],
      "sources" : [
        "AppKitRenderingStrategy.swift",
        "ConformanceLookup.swift",
        "ExpandingViewController.swift",
        "MetadataTypes.swift",
        "ModifierFinder.swift",
        "NSImage+EMG.swift",
        "Orientation.swift",
        "PreferredColorSchemeWrapper.swift",
        "RenderingStrategy.swift",
        "ScrollExpansion.swift",
        "SnapshotPreviewsCore.swift",
        "String+Split.swift",
        "SwiftUIRenderingStrategy.swift",
        "UIImage+EMG.swift",
        "UIKitRenderingStrategy.swift",
        "UIViewWrapper.swift",
        "View+Snapshot.swift",
        "ViewSelector.swift"
      ],
      "target_dependencies" : [
        "PreviewsSupport",
        "SnapshotSharedModels"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SnapshotPreferences",
      "module_type" : "SwiftTarget",
      "name" : "SnapshotPreferences",
      "path" : "Sources/SnapshotPreferences",
      "product_memberships" : [
        "PreviewGallery",
        "SnapshotPreferences"
      ],
      "sources" : [
        "AccessibiltyPreference.swift",
        "AppStoreSnapshotPreference.swift",
        "EmergeModifierFinder.swift",
        "ExpansionPreference.swift",
        "PrecisionPreference.swift",
        "RenderingModePreference.swift"
      ],
      "target_dependencies" : [
        "SnapshotSharedModels"
      ],
      "type" : "library"
    },
    {
      "c99name" : "PreviewsSupport",
      "module_type" : "BinaryTarget",
      "name" : "PreviewsSupport",
      "path" : "PreviewsSupport/PreviewsSupport.xcframework",
      "product_memberships" : [
        "PreviewGallery",
        "SnapshottingTests",
        "SnapshotPreviewsCore",
        "Snapshotting"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "PreviewGallery",
      "module_type" : "SwiftTarget",
      "name" : "PreviewGallery",
      "path" : "Sources/PreviewGallery",
      "product_memberships" : [
        "PreviewGallery"
      ],
      "sources" : [
        "Array+Filter.swift",
        "Checkerboard.swift",
        "Colors.swift",
        "ModulePreviews.swift",
        "ModuleScreens.swift",
        "Preview+FullScreen.swift",
        "PreviewCell.swift",
        "PreviewData.swift",
        "PreviewGallery.swift",
        "PreviewsDetail.swift",
        "TitleSubtitleRow.swift"
      ],
      "target_dependencies" : [
        "SnapshotPreviewsCore",
        "SnapshotPreferences"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:eb0758f51dbd6991fb9e51dedbfbcbec142ffc0d3b9b8ad91fa19d35e5136f0a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/swhitty/FlyingFox.git
Fetching https://github.com/EmergeTools/AccessibilitySnapshot.git
Fetching https://github.com/EmergeTools/SimpleDebugger.git
[1/96] Fetching simpledebugger
[97/5657] Fetching simpledebugger, flyingfox
Fetched https://github.com/EmergeTools/SimpleDebugger.git from cache (0.26s)
[390/5561] Fetching flyingfox
[5562/8303] Fetching flyingfox, accessibilitysnapshot
Fetched https://github.com/swhitty/FlyingFox.git from cache (2.41s)
Fetched https://github.com/EmergeTools/AccessibilitySnapshot.git from cache (2.49s)
Computing version for https://github.com/EmergeTools/SimpleDebugger.git
Computed https://github.com/EmergeTools/SimpleDebugger.git at 1.0.0 (3.06s)
Computing version for https://github.com/EmergeTools/AccessibilitySnapshot.git
Computed https://github.com/EmergeTools/AccessibilitySnapshot.git at 1.0.2 (0.67s)
Computing version for https://github.com/swhitty/FlyingFox.git
Computed https://github.com/swhitty/FlyingFox.git at 0.16.0 (0.52s)
Creating working copy for https://github.com/swhitty/FlyingFox.git
Working copy of https://github.com/swhitty/FlyingFox.git resolved at 0.16.0
Creating working copy for https://github.com/EmergeTools/SimpleDebugger.git
Working copy of https://github.com/EmergeTools/SimpleDebugger.git resolved at 1.0.0
Creating working copy for https://github.com/EmergeTools/AccessibilitySnapshot.git
Working copy of https://github.com/EmergeTools/AccessibilitySnapshot.git resolved at 1.0.2
Building for debugging...
[0/25] Write sources
/host/spi-builder-workspace/Sources/SnapshottingTestsObjc/EMGInvocationCreator.mm:8:9: fatal error: 'Foundation/Foundation.h' file not found
    8 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[8/25] Compiling SnapshottingTestsObjc EMGInvocationCreator.mm
[8/25] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:eb0758f51dbd6991fb9e51dedbfbcbec142ffc0d3b9b8ad91fa19d35e5136f0a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
/host/spi-builder-workspace/Sources/SnapshottingTestsObjc/EMGInvocationCreator.mm:8:9: fatal error: 'Foundation/Foundation.h' file not found
    8 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/17] Compiling SnapshottingTestsObjc EMGInvocationCreator.mm
[0/17] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm