Build Information
Failed to build SnapshotPreviews, reference v0.10.22 (d2e18d
), with Swift 6.1 for Wasm on 30 May 2025 16:01:44 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-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.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/EmergeTools/SnapshotPreviews.git
Reference: v0.10.22
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
* tag v0.10.22 -> FETCH_HEAD
HEAD is now at d2e18d1 Add rendering mode support (#232)
Cloned https://github.com/EmergeTools/SnapshotPreviews.git
Revision (git rev-parse @):
d2e18d1d8d8737f424babaeeeda88a63f9325b70
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/EmergeTools/SnapshotPreviews.git at v0.10.22
========================================
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-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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
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/SimpleDebugger.git
Fetching https://github.com/EmergeTools/AccessibilitySnapshot.git
[1/96] Fetching simpledebugger
[78/5381] Fetching simpledebugger, flyingfox
[5363/8123] Fetching simpledebugger, flyingfox, accessibilitysnapshot
Fetched https://github.com/EmergeTools/SimpleDebugger.git from cache (0.80s)
Fetched https://github.com/swhitty/FlyingFox.git from cache (0.81s)
[138/2742] Fetching accessibilitysnapshot
Fetched https://github.com/EmergeTools/AccessibilitySnapshot.git from cache (3.65s)
Computing version for https://github.com/EmergeTools/SimpleDebugger.git
Computed https://github.com/EmergeTools/SimpleDebugger.git at 1.0.0 (4.92s)
Computing version for https://github.com/EmergeTools/AccessibilitySnapshot.git
Computed https://github.com/EmergeTools/AccessibilitySnapshot.git at 1.0.2 (1.37s)
Computing version for https://github.com/swhitty/FlyingFox.git
Computed https://github.com/swhitty/FlyingFox.git at 0.16.0 (1.11s)
Creating working copy for https://github.com/EmergeTools/AccessibilitySnapshot.git
Working copy of https://github.com/EmergeTools/AccessibilitySnapshot.git resolved at 1.0.2
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/swhitty/FlyingFox.git
Working copy of https://github.com/swhitty/FlyingFox.git resolved at 0.16.0
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-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: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...
/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