The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftSnapshotTesting, reference 0.1.7 (b2ecbe), with Swift 6.1 for Wasm on 28 May 2025 06:17:49 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/eugenebokhan/swift-snapshot-testing.git
Reference: 0.1.7
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/eugenebokhan/swift-snapshot-testing
 * tag               0.1.7      -> FETCH_HEAD
HEAD is now at b2ecbe0 update deps
Cloned https://github.com/eugenebokhan/swift-snapshot-testing.git
Revision (git rev-parse @):
b2ecbe0e6e25c9582ffba6a7474cd9bf50a6624a
SUCCESS checkout https://github.com/eugenebokhan/swift-snapshot-testing.git at 0.1.7
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/eugenebokhan/swift-snapshot-testing.git
https://github.com/eugenebokhan/swift-snapshot-testing.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "alloy",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.17.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/s1ddok/Alloy.git"
    },
    {
      "identity" : "devicekit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.2.1",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/devicekit/DeviceKit.git"
    },
    {
      "identity" : "resourcesbridge",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.0.4",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/eugenebokhan/ResourcesBridge.git"
    }
  ],
  "manifest_display_name" : "SwiftSnapshotTesting",
  "name" : "SwiftSnapshotTesting",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "12.0"
    },
    {
      "name" : "macos",
      "version" : "10.14"
    }
  ],
  "products" : [
    {
      "name" : "SwiftSnapshotTesting",
      "targets" : [
        "SwiftSnapshotTesting"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftSnapshotTesting",
      "module_type" : "SwiftTarget",
      "name" : "SwiftSnapshotTesting",
      "path" : "Sources/SwiftSnapshotTesting",
      "product_dependencies" : [
        "Alloy",
        "DeviceKit",
        "ResourcesBridge"
      ],
      "product_memberships" : [
        "SwiftSnapshotTesting"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/SwiftSnapshotTesting/Shaders/Shaders.metal",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "Encoders/EuclideanDistance.swift",
        "Extensions/CoreGraphics/CGPoint+Extensions.swift",
        "Extensions/CoreGraphics/CGSize+Extensions.swift",
        "Extensions/CoreGraphics/CoreGraphics+Extensions.swift",
        "Extensions/Foundation/Data+Compression.swift",
        "Extensions/Metal/MTLSize+Extensions.swift",
        "Extensions/Swift/String+Extensions.swift",
        "Extensions/XCTest/XCUIApplication+Extensions.swift",
        "SnapshotTestCase.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
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
Fetching https://github.com/s1ddok/Alloy.git
Fetching https://github.com/devicekit/DeviceKit.git
Fetching https://github.com/eugenebokhan/ResourcesBridge.git
[1/4470] Fetching alloy
[583/8536] Fetching alloy, devicekit
[584/8719] Fetching alloy, devicekit, resourcesbridge
Fetched https://github.com/devicekit/DeviceKit.git from cache (0.58s)
Fetched https://github.com/eugenebokhan/ResourcesBridge.git from cache (0.59s)
[1029/4470] Fetching alloy
Fetched https://github.com/s1ddok/Alloy.git from cache (0.81s)
Computing version for https://github.com/eugenebokhan/ResourcesBridge.git
Computed https://github.com/eugenebokhan/ResourcesBridge.git at 0.0.4 (1.46s)
Fetching https://github.com/eugenebokhan/Bonjour.git
[1/106] Fetching bonjour
Fetched https://github.com/eugenebokhan/Bonjour.git from cache (0.22s)
Computing version for https://github.com/eugenebokhan/Bonjour.git
Computed https://github.com/eugenebokhan/Bonjour.git at 2.1.0 (0.81s)
Computing version for https://github.com/s1ddok/Alloy.git
Computed https://github.com/s1ddok/Alloy.git at 0.18.2 (1.99s)
Computing version for https://github.com/devicekit/DeviceKit.git
Computed https://github.com/devicekit/DeviceKit.git at 4.9.0 (0.65s)
Creating working copy for https://github.com/eugenebokhan/ResourcesBridge.git
Working copy of https://github.com/eugenebokhan/ResourcesBridge.git resolved at 0.0.4
Creating working copy for https://github.com/s1ddok/Alloy.git
Working copy of https://github.com/s1ddok/Alloy.git resolved at 0.18.2
Creating working copy for https://github.com/eugenebokhan/Bonjour.git
Working copy of https://github.com/eugenebokhan/Bonjour.git resolved at 2.1.0
Creating working copy for https://github.com/devicekit/DeviceKit.git
Working copy of https://github.com/devicekit/DeviceKit.git resolved at 4.9.0
Building for debugging...
[0/9] Write sources
[0/9] Copying Shaders.metal
[5/9] Write sources
[6/9] Copying Shaders.metal
[7/9] Compiling AlloyShadersSharedTypes AlloyShadersSharedTypes.c
[7/9] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/86] Emitting module Alloy
/host/spi-builder-workspace/.build/checkouts/Alloy/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
  1 | import Metal
    |        `- error: no such module 'Metal'
  2 |
  3 | @dynamicMemberLookup
[11/95] Compiling Alloy TextureMax.swift
/host/spi-builder-workspace/.build/checkouts/Alloy/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
  1 | import Metal
    |        `- error: no such module 'Metal'
  2 |
  3 | @dynamicMemberLookup
[12/95] Compiling Alloy TextureMean.swift
/host/spi-builder-workspace/.build/checkouts/Alloy/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
  1 | import Metal
    |        `- error: no such module 'Metal'
  2 |
  3 | @dynamicMemberLookup
[13/95] Compiling Alloy TextureMin.swift
/host/spi-builder-workspace/.build/checkouts/Alloy/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
  1 | import Metal
    |        `- error: no such module 'Metal'
  2 |
  3 | @dynamicMemberLookup
[14/95] Compiling Alloy TextureMultiplyAdd.swift
/host/spi-builder-workspace/.build/checkouts/Alloy/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
  1 | import Metal
    |        `- error: no such module 'Metal'
  2 |
  3 | @dynamicMemberLookup
[15/95] Compiling Alloy TextureNormalization.swift
/host/spi-builder-workspace/.build/checkouts/Alloy/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
  1 | import Metal
    |        `- error: no such module 'Metal'
  2 |
  3 | @dynamicMemberLookup
[16/95] Compiling Alloy TextureResize.swift
/host/spi-builder-workspace/.build/checkouts/Alloy/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
  1 | import Metal
    |        `- error: no such module 'Metal'
  2 |
  3 | @dynamicMemberLookup
[17/95] Compiling Alloy TextureWeightedMix.swift
/host/spi-builder-workspace/.build/checkouts/Alloy/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
  1 | import Metal
    |        `- error: no such module 'Metal'
  2 |
  3 | @dynamicMemberLookup
[18/95] Compiling Alloy YCbCrToRGBA.swift
/host/spi-builder-workspace/.build/checkouts/Alloy/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
  1 | import Metal
    |        `- error: no such module 'Metal'
  2 |
  3 | @dynamicMemberLookup
[19/95] Compiling Alloy GlobalPoolPadding.swift
/host/spi-builder-workspace/.build/checkouts/Alloy/Sources/Alloy/Core/ComputeCommand.swift:1:8: error: no such module 'Metal'
  1 | import Metal
    |        `- error: no such module 'Metal'
  2 |
  3 | @dynamicMemberLookup
error: emit-module command failed with exit code 1 (use -v to see invocation)
[20/95] Emitting module DeviceKit
/host/spi-builder-workspace/.build/checkouts/DeviceKit/Source/Device.generated.swift:15:8: error: no such module 'UIKit'
  13 | import WatchKit
  14 | #else
  15 | import UIKit
     |        `- error: no such module 'UIKit'
  16 | #endif
  17 |
[21/95] Compiling DeviceKit Device.generated.swift
/host/spi-builder-workspace/.build/checkouts/DeviceKit/Source/Device.generated.swift:15:8: error: no such module 'UIKit'
  13 | import WatchKit
  14 | #else
  15 | import UIKit
     |        `- error: no such module 'UIKit'
  16 | #endif
  17 |
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
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/78] Emitting module DeviceKit
/host/spi-builder-workspace/.build/checkouts/DeviceKit/Source/Device.generated.swift:15:8: error: no such module 'UIKit'
  13 | import WatchKit
  14 | #else
  15 | import UIKit
     |        `- error: no such module 'UIKit'
  16 | #endif
  17 |
[3/78] Compiling DeviceKit Device.generated.swift
/host/spi-builder-workspace/.build/checkouts/DeviceKit/Source/Device.generated.swift:15:8: error: no such module 'UIKit'
  13 | import WatchKit
  14 | #else
  15 | import UIKit
     |        `- error: no such module 'UIKit'
  16 | #endif
  17 |
BUILD FAILURE 6.1 wasm