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 SwiftUICamera, reference main (8ab5b1), with Swift 6.2 (beta) for Wasm on 23 Jun 2025 02:22:24 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/k-arindam/SwiftUICamera.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/k-arindam/SwiftUICamera
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 8ab5b1a Implemented zoom & focus functionality, core logic changes and  modified example app
Cloned https://github.com/k-arindam/SwiftUICamera.git
Revision (git rev-parse @):
8ab5b1af018e5ff666d00f15333b29e9564f8238
SUCCESS checkout https://github.com/k-arindam/SwiftUICamera.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/k-arindam/SwiftUICamera.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/2082] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.40s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.4 (2.73s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3415] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.34s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.80s)
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.4
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/40] Compiling SwiftUICamera ISO+SUICameraViewModel.swift
/host/spi-builder-workspace/Sources/SwiftUICamera/Core/Typealiases.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public typealias VoidCallback = @Sendable () -> Void
[6/40] Compiling SwiftUICamera PhotoCapture+SUICameraViewModel.swift
/host/spi-builder-workspace/Sources/SwiftUICamera/Core/Typealiases.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public typealias VoidCallback = @Sendable () -> Void
[7/40] Compiling SwiftUICamera PublicMisc+SUICameraViewModel.swift
/host/spi-builder-workspace/Sources/SwiftUICamera/Core/Typealiases.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public typealias VoidCallback = @Sendable () -> Void
[8/40] Compiling SwiftUICamera Shared+SUICameraViewModel.swift
/host/spi-builder-workspace/Sources/SwiftUICamera/Core/Typealiases.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public typealias VoidCallback = @Sendable () -> Void
[9/40] Compiling SwiftUICamera ShutterSpeed+SUICameraViewModel.swift
/host/spi-builder-workspace/Sources/SwiftUICamera/Core/Typealiases.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public typealias VoidCallback = @Sendable () -> Void
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/44] Emitting module SwiftUICamera
/host/spi-builder-workspace/Sources/SwiftUICamera/Core/Typealiases.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public typealias VoidCallback = @Sendable () -> Void
[11/44] Compiling SwiftUICamera DeviceType.swift
/host/spi-builder-workspace/Sources/SwiftUICamera/Core/Typealiases.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public typealias VoidCallback = @Sendable () -> Void
[12/44] Compiling SwiftUICamera PrecheckResult.swift
/host/spi-builder-workspace/Sources/SwiftUICamera/Core/Typealiases.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public typealias VoidCallback = @Sendable () -> Void
[13/44] Compiling SwiftUICamera PreviewScale.swift
/host/spi-builder-workspace/Sources/SwiftUICamera/Core/Typealiases.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public typealias VoidCallback = @Sendable () -> Void
[14/44] Compiling SwiftUICamera SUICameraAudioDevice.swift
/host/spi-builder-workspace/Sources/SwiftUICamera/Core/Typealiases.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public typealias VoidCallback = @Sendable () -> Void
[15/44] Compiling SwiftUICamera SUICameraError.swift
/host/spi-builder-workspace/Sources/SwiftUICamera/Core/Typealiases.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public typealias VoidCallback = @Sendable () -> Void
[16/44] Compiling SwiftUICamera Typealiases.swift
/host/spi-builder-workspace/Sources/SwiftUICamera/Core/Typealiases.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public typealias VoidCallback = @Sendable () -> Void
[17/44] Compiling SwiftUICamera Utils.swift
/host/spi-builder-workspace/Sources/SwiftUICamera/Core/Typealiases.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public typealias VoidCallback = @Sendable () -> Void
[18/44] Compiling SwiftUICamera SUICameraConfig.swift
/host/spi-builder-workspace/Sources/SwiftUICamera/Core/Typealiases.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public typealias VoidCallback = @Sendable () -> Void
[19/44] Compiling SwiftUICamera VQDescription.swift
/host/spi-builder-workspace/Sources/SwiftUICamera/Core/Typealiases.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public typealias VoidCallback = @Sendable () -> Void
[20/44] Compiling SwiftUICamera CameraMode.swift
/host/spi-builder-workspace/Sources/SwiftUICamera/Core/Typealiases.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public typealias VoidCallback = @Sendable () -> Void
[21/44] Compiling SwiftUICamera SUICameraCaptureDevice.swift
/host/spi-builder-workspace/Sources/SwiftUICamera/Core/Typealiases.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public typealias VoidCallback = @Sendable () -> Void
[22/44] Compiling SwiftUICamera SUICameraDataDelegate.swift
/host/spi-builder-workspace/Sources/SwiftUICamera/Core/Typealiases.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public typealias VoidCallback = @Sendable () -> Void
[23/44] Compiling SwiftUICamera CIImageRenderThread.swift
/host/spi-builder-workspace/Sources/SwiftUICamera/Core/Typealiases.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public typealias VoidCallback = @Sendable () -> Void
[24/44] Compiling SwiftUICamera Focus+SUICameraViewModel.swift
/host/spi-builder-workspace/Sources/SwiftUICamera/Core/Typealiases.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public typealias VoidCallback = @Sendable () -> Void
[25/44] Compiling SwiftUICamera Frame+SUICameraViewModel.swift
/host/spi-builder-workspace/Sources/SwiftUICamera/Core/Typealiases.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public typealias VoidCallback = @Sendable () -> Void
[26/44] Compiling SwiftUICamera SUICameraExposure.swift
/host/spi-builder-workspace/Sources/SwiftUICamera/Core/Typealiases.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public typealias VoidCallback = @Sendable () -> Void
[27/44] Compiling SwiftUICamera SUICameraFocus.swift
/host/spi-builder-workspace/Sources/SwiftUICamera/Core/Typealiases.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public typealias VoidCallback = @Sendable () -> Void
[28/44] Compiling SwiftUICamera SUICameraISO.swift
/host/spi-builder-workspace/Sources/SwiftUICamera/Core/Typealiases.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public typealias VoidCallback = @Sendable () -> Void
[29/44] Compiling SwiftUICamera SUICameraShutterSpeed.swift
/host/spi-builder-workspace/Sources/SwiftUICamera/Core/Typealiases.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public typealias VoidCallback = @Sendable () -> Void
[30/44] Compiling SwiftUICamera SUICameraVideoDevice.swift
/host/spi-builder-workspace/Sources/SwiftUICamera/Core/Typealiases.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public typealias VoidCallback = @Sendable () -> Void
[31/44] Compiling SwiftUICamera SUICameraVideoQuality.swift
/host/spi-builder-workspace/Sources/SwiftUICamera/Core/Typealiases.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public typealias VoidCallback = @Sendable () -> Void
[32/44] Compiling SwiftUICamera SUICameraWB.swift
/host/spi-builder-workspace/Sources/SwiftUICamera/Core/Typealiases.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public typealias VoidCallback = @Sendable () -> Void
[33/44] Compiling SwiftUICamera SUICameraZoom.swift
/host/spi-builder-workspace/Sources/SwiftUICamera/Core/Typealiases.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public typealias VoidCallback = @Sendable () -> Void
[34/44] Compiling SwiftUICamera AVCaptureSession+Extensions.swift
/host/spi-builder-workspace/Sources/SwiftUICamera/Core/Typealiases.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public typealias VoidCallback = @Sendable () -> Void
[35/44] Compiling SwiftUICamera SUICameraCapability.swift
/host/spi-builder-workspace/Sources/SwiftUICamera/Core/Typealiases.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public typealias VoidCallback = @Sendable () -> Void
[36/44] Compiling SwiftUICamera VideoRecording+SUICameraViewModel.swift
/host/spi-builder-workspace/Sources/SwiftUICamera/Core/Typealiases.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public typealias VoidCallback = @Sendable () -> Void
[37/44] Compiling SwiftUICamera WB+SUICameraViewModel.swift
/host/spi-builder-workspace/Sources/SwiftUICamera/Core/Typealiases.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public typealias VoidCallback = @Sendable () -> Void
[38/44] Compiling SwiftUICamera Zoom+SUICameraViewModel.swift
/host/spi-builder-workspace/Sources/SwiftUICamera/Core/Typealiases.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public typealias VoidCallback = @Sendable () -> Void
[39/44] Compiling SwiftUICamera SUICameraViewModel.swift
/host/spi-builder-workspace/Sources/SwiftUICamera/Core/Typealiases.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public typealias VoidCallback = @Sendable () -> Void
[40/44] Compiling SwiftUICamera SUICameraView.swift
/host/spi-builder-workspace/Sources/SwiftUICamera/Core/Typealiases.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public typealias VoidCallback = @Sendable () -> Void
[41/44] Compiling SwiftUICamera CustomDivider.swift
/host/spi-builder-workspace/Sources/SwiftUICamera/Core/Typealiases.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public typealias VoidCallback = @Sendable () -> Void
[42/44] Compiling SwiftUICamera GridView.swift
/host/spi-builder-workspace/Sources/SwiftUICamera/Core/Typealiases.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public typealias VoidCallback = @Sendable () -> Void
[43/44] Compiling SwiftUICamera PreviewLayerContainer.swift
/host/spi-builder-workspace/Sources/SwiftUICamera/Core/Typealiases.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public typealias VoidCallback = @Sendable () -> Void
[44/44] Compiling SwiftUICamera SUICameraViewRepresentable.swift
/host/spi-builder-workspace/Sources/SwiftUICamera/Core/Typealiases.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public typealias VoidCallback = @Sendable () -> Void
BUILD FAILURE 6.2 wasm