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 CameraView, reference 0.0.1 (bb528e), with Swift 6.2 (beta) for Linux on 17 Jun 2025 11:30:42 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/brettfazio/CameraView.git
Reference: 0.0.1
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/brettfazio/CameraView
 * tag               0.0.1      -> FETCH_HEAD
HEAD is now at bb528e1 Delete swift.yml
Cloned https://github.com/brettfazio/CameraView.git
Revision (git rev-parse @):
bb528e129ac23f2888dee51a309bbd4b10374673
SUCCESS checkout https://github.com/brettfazio/CameraView.git at 0.0.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/brettfazio/CameraView.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
f557aa5ee224: Already exists
5a06fb7b224d: Pulling fs layer
4f4fb700ef54: Pulling fs layer
319f0910e4be: Pulling fs layer
f944f812c62d: Pulling fs layer
bd6b4327ba26: Pulling fs layer
81b472f9fe56: Pulling fs layer
5b4c6fcf9363: Pulling fs layer
bd6b4327ba26: Waiting
81b472f9fe56: Waiting
5b4c6fcf9363: Waiting
f944f812c62d: Waiting
4f4fb700ef54: Download complete
f944f812c62d: Verifying Checksum
f944f812c62d: Download complete
bd6b4327ba26: Verifying Checksum
bd6b4327ba26: Download complete
5a06fb7b224d: Download complete
5b4c6fcf9363: Verifying Checksum
5b4c6fcf9363: Download complete
81b472f9fe56: Verifying Checksum
81b472f9fe56: Download complete
5a06fb7b224d: Pull complete
4f4fb700ef54: Pull complete
319f0910e4be: Verifying Checksum
319f0910e4be: Download complete
319f0910e4be: Pull complete
f944f812c62d: Pull complete
bd6b4327ba26: Pull complete
81b472f9fe56: Pull complete
5b4c6fcf9363: Pull complete
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Downloaded newer image for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/5] Emitting module CameraView
/host/spi-builder-workspace/Sources/CameraView/CameraView.swift:8:8: error: no such module 'SwiftUI'
  6 | //
  7 |
  8 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  9 | import UIKit
 10 | import AVFoundation
[4/5] Compiling CameraView CameraView.swift
/host/spi-builder-workspace/Sources/CameraView/CameraView.swift:8:8: error: no such module 'SwiftUI'
  6 | //
  7 |
  8 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  9 | import UIKit
 10 | import AVFoundation
[5/5] Compiling CameraView CameraViewDelegate.swift
/host/spi-builder-workspace/Sources/CameraView/CameraView.swift:8:8: error: no such module 'SwiftUI'
  6 | //
  7 |
  8 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  9 | import UIKit
 10 | import AVFoundation
BUILD FAILURE 6.2 linux