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 SwiftttCamera, reference master (8c418c), with Swift 6.1 for Wasm on 28 May 2025 01:25:29 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/rogerluan/SwiftttCamera.git
Reference: master
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/rogerluan/SwiftttCamera
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 8c418c6 Fix CI.
Cloned https://github.com/rogerluan/SwiftttCamera.git
Revision (git rev-parse @):
8c418c68a20b990c94644add4906d74d94592a80
SUCCESS checkout https://github.com/rogerluan/SwiftttCamera.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/rogerluan/SwiftttCamera.git
https://github.com/rogerluan/SwiftttCamera.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftttCamera",
  "name" : "SwiftttCamera",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftttCamera",
      "targets" : [
        "SwiftttCamera"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftttCameraTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftttCameraTests",
      "path" : "Tests",
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Tests/TestImages.xcassets",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "CapturedImageTests.swift",
        "DeviceOrientationTests.swift",
        "FocusTests.swift",
        "SwiftttCameraTests.swift",
        "UIImageUtilitiesPerformanceTests.swift",
        "UIImageUtilitiesTests.swift",
        "UIViewControllerSwiftttCameraTests.swift",
        "Utilities/UIPinchGestureRecognizerMock.swift",
        "Utilities/UITapGestureRecognizerMock.swift",
        "ZoomTests.swift"
      ],
      "target_dependencies" : [
        "SwiftttCamera"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftttCamera",
      "module_type" : "SwiftTarget",
      "name" : "SwiftttCamera",
      "path" : "Sources",
      "product_memberships" : [
        "SwiftttCamera"
      ],
      "sources" : [
        "CameraDelegate.swift",
        "CameraProtocol.swift",
        "CameraTypes.swift",
        "CapturedImage.swift",
        "DeviceOrientation.swift",
        "Extensions/AVCaptureDevice+Utilities.swift",
        "Extensions/AVCaptureSession+Utilities.swift",
        "Extensions/Comparable+Utilities.swift",
        "Extensions/UIImage+Utilities.swift",
        "Extensions/UIViewController+SwiftttCamera.swift",
        "Focus.swift",
        "SwiftttCamera.swift",
        "Zoom.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.4"
}
warning: 'spi-builder-workspace': Invalid Resource 'Test Images': File not found.
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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
warning: 'spi-builder-workspace': Invalid Resource 'Test Images': File not found.
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/15] Emitting module SwiftttCamera
/host/spi-builder-workspace/Sources/CameraProtocol.swift:3:8: error: no such module 'UIKit'
  1 | // Copyright © 2021 Roger Oba. All rights reserved.
  2 |
  3 | import UIKit
    |        `- error: no such module 'UIKit'
  4 |
  5 | public protocol CameraProtocol : AnyObject {
[4/16] Compiling SwiftttCamera Focus.swift
/host/spi-builder-workspace/Sources/CameraProtocol.swift:3:8: error: no such module 'UIKit'
  1 | // Copyright © 2021 Roger Oba. All rights reserved.
  2 |
  3 | import UIKit
    |        `- error: no such module 'UIKit'
  4 |
  5 | public protocol CameraProtocol : AnyObject {
[5/16] Compiling SwiftttCamera SwiftttCamera.swift
/host/spi-builder-workspace/Sources/CameraProtocol.swift:3:8: error: no such module 'UIKit'
  1 | // Copyright © 2021 Roger Oba. All rights reserved.
  2 |
  3 | import UIKit
    |        `- error: no such module 'UIKit'
  4 |
  5 | public protocol CameraProtocol : AnyObject {
[6/16] Compiling SwiftttCamera UIImage+Utilities.swift
/host/spi-builder-workspace/Sources/CameraProtocol.swift:3:8: error: no such module 'UIKit'
  1 | // Copyright © 2021 Roger Oba. All rights reserved.
  2 |
  3 | import UIKit
    |        `- error: no such module 'UIKit'
  4 |
  5 | public protocol CameraProtocol : AnyObject {
[7/16] Compiling SwiftttCamera UIViewController+SwiftttCamera.swift
/host/spi-builder-workspace/Sources/CameraProtocol.swift:3:8: error: no such module 'UIKit'
  1 | // Copyright © 2021 Roger Oba. All rights reserved.
  2 |
  3 | import UIKit
    |        `- error: no such module 'UIKit'
  4 |
  5 | public protocol CameraProtocol : AnyObject {
[8/16] Compiling SwiftttCamera Zoom.swift
/host/spi-builder-workspace/Sources/CameraProtocol.swift:3:8: error: no such module 'UIKit'
  1 | // Copyright © 2021 Roger Oba. All rights reserved.
  2 |
  3 | import UIKit
    |        `- error: no such module 'UIKit'
  4 |
  5 | public protocol CameraProtocol : AnyObject {
[9/16] Compiling SwiftttCamera CameraDelegate.swift
/host/spi-builder-workspace/Sources/CameraProtocol.swift:3:8: error: no such module 'UIKit'
  1 | // Copyright © 2021 Roger Oba. All rights reserved.
  2 |
  3 | import UIKit
    |        `- error: no such module 'UIKit'
  4 |
  5 | public protocol CameraProtocol : AnyObject {
[10/16] Compiling SwiftttCamera CameraProtocol.swift
/host/spi-builder-workspace/Sources/CameraProtocol.swift:3:8: error: no such module 'UIKit'
  1 | // Copyright © 2021 Roger Oba. All rights reserved.
  2 |
  3 | import UIKit
    |        `- error: no such module 'UIKit'
  4 |
  5 | public protocol CameraProtocol : AnyObject {
[11/16] Compiling SwiftttCamera DeviceOrientation.swift
/host/spi-builder-workspace/Sources/CameraProtocol.swift:3:8: error: no such module 'UIKit'
  1 | // Copyright © 2021 Roger Oba. All rights reserved.
  2 |
  3 | import UIKit
    |        `- error: no such module 'UIKit'
  4 |
  5 | public protocol CameraProtocol : AnyObject {
[12/16] Compiling SwiftttCamera AVCaptureDevice+Utilities.swift
/host/spi-builder-workspace/Sources/CameraProtocol.swift:3:8: error: no such module 'UIKit'
  1 | // Copyright © 2021 Roger Oba. All rights reserved.
  2 |
  3 | import UIKit
    |        `- error: no such module 'UIKit'
  4 |
  5 | public protocol CameraProtocol : AnyObject {
[13/16] Compiling SwiftttCamera CameraTypes.swift
/host/spi-builder-workspace/Sources/CameraProtocol.swift:3:8: error: no such module 'UIKit'
  1 | // Copyright © 2021 Roger Oba. All rights reserved.
  2 |
  3 | import UIKit
    |        `- error: no such module 'UIKit'
  4 |
  5 | public protocol CameraProtocol : AnyObject {
[14/16] Compiling SwiftttCamera CapturedImage.swift
/host/spi-builder-workspace/Sources/CameraProtocol.swift:3:8: error: no such module 'UIKit'
  1 | // Copyright © 2021 Roger Oba. All rights reserved.
  2 |
  3 | import UIKit
    |        `- error: no such module 'UIKit'
  4 |
  5 | public protocol CameraProtocol : AnyObject {
[15/16] Compiling SwiftttCamera AVCaptureSession+Utilities.swift
/host/spi-builder-workspace/Sources/CameraProtocol.swift:3:8: error: no such module 'UIKit'
  1 | // Copyright © 2021 Roger Oba. All rights reserved.
  2 |
  3 | import UIKit
    |        `- error: no such module 'UIKit'
  4 |
  5 | public protocol CameraProtocol : AnyObject {
[16/16] Compiling SwiftttCamera Comparable+Utilities.swift
/host/spi-builder-workspace/Sources/CameraProtocol.swift:3:8: error: no such module 'UIKit'
  1 | // Copyright © 2021 Roger Oba. All rights reserved.
  2 |
  3 | import UIKit
    |        `- error: no such module 'UIKit'
  4 |
  5 | public protocol CameraProtocol : AnyObject {
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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
warning: 'spi-builder-workspace': Invalid Resource 'Test Images': File not found.
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/14] Compiling SwiftttCamera UIImage+Utilities.swift
/host/spi-builder-workspace/Sources/CameraProtocol.swift:3:8: error: no such module 'UIKit'
  1 | // Copyright © 2021 Roger Oba. All rights reserved.
  2 |
  3 | import UIKit
    |        `- error: no such module 'UIKit'
  4 |
  5 | public protocol CameraProtocol : AnyObject {
[3/14] Compiling SwiftttCamera UIViewController+SwiftttCamera.swift
/host/spi-builder-workspace/Sources/CameraProtocol.swift:3:8: error: no such module 'UIKit'
  1 | // Copyright © 2021 Roger Oba. All rights reserved.
  2 |
  3 | import UIKit
    |        `- error: no such module 'UIKit'
  4 |
  5 | public protocol CameraProtocol : AnyObject {
[4/14] Compiling SwiftttCamera AVCaptureSession+Utilities.swift
/host/spi-builder-workspace/Sources/CameraProtocol.swift:3:8: error: no such module 'UIKit'
  1 | // Copyright © 2021 Roger Oba. All rights reserved.
  2 |
  3 | import UIKit
    |        `- error: no such module 'UIKit'
  4 |
  5 | public protocol CameraProtocol : AnyObject {
[5/14] Compiling SwiftttCamera Comparable+Utilities.swift
/host/spi-builder-workspace/Sources/CameraProtocol.swift:3:8: error: no such module 'UIKit'
  1 | // Copyright © 2021 Roger Oba. All rights reserved.
  2 |
  3 | import UIKit
    |        `- error: no such module 'UIKit'
  4 |
  5 | public protocol CameraProtocol : AnyObject {
[6/15] Compiling SwiftttCamera CameraTypes.swift
/host/spi-builder-workspace/Sources/CameraProtocol.swift:3:8: error: no such module 'UIKit'
  1 | // Copyright © 2021 Roger Oba. All rights reserved.
  2 |
  3 | import UIKit
    |        `- error: no such module 'UIKit'
  4 |
  5 | public protocol CameraProtocol : AnyObject {
[7/15] Compiling SwiftttCamera CapturedImage.swift
/host/spi-builder-workspace/Sources/CameraProtocol.swift:3:8: error: no such module 'UIKit'
  1 | // Copyright © 2021 Roger Oba. All rights reserved.
  2 |
  3 | import UIKit
    |        `- error: no such module 'UIKit'
  4 |
  5 | public protocol CameraProtocol : AnyObject {
[8/15] Compiling SwiftttCamera DeviceOrientation.swift
/host/spi-builder-workspace/Sources/CameraProtocol.swift:3:8: error: no such module 'UIKit'
  1 | // Copyright © 2021 Roger Oba. All rights reserved.
  2 |
  3 | import UIKit
    |        `- error: no such module 'UIKit'
  4 |
  5 | public protocol CameraProtocol : AnyObject {
[9/15] Compiling SwiftttCamera AVCaptureDevice+Utilities.swift
/host/spi-builder-workspace/Sources/CameraProtocol.swift:3:8: error: no such module 'UIKit'
  1 | // Copyright © 2021 Roger Oba. All rights reserved.
  2 |
  3 | import UIKit
    |        `- error: no such module 'UIKit'
  4 |
  5 | public protocol CameraProtocol : AnyObject {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/15] Emitting module SwiftttCamera
/host/spi-builder-workspace/Sources/CameraProtocol.swift:3:8: error: no such module 'UIKit'
  1 | // Copyright © 2021 Roger Oba. All rights reserved.
  2 |
  3 | import UIKit
    |        `- error: no such module 'UIKit'
  4 |
  5 | public protocol CameraProtocol : AnyObject {
[11/15] Compiling SwiftttCamera CameraDelegate.swift
/host/spi-builder-workspace/Sources/CameraProtocol.swift:3:8: error: no such module 'UIKit'
  1 | // Copyright © 2021 Roger Oba. All rights reserved.
  2 |
  3 | import UIKit
    |        `- error: no such module 'UIKit'
  4 |
  5 | public protocol CameraProtocol : AnyObject {
[12/15] Compiling SwiftttCamera CameraProtocol.swift
/host/spi-builder-workspace/Sources/CameraProtocol.swift:3:8: error: no such module 'UIKit'
  1 | // Copyright © 2021 Roger Oba. All rights reserved.
  2 |
  3 | import UIKit
    |        `- error: no such module 'UIKit'
  4 |
  5 | public protocol CameraProtocol : AnyObject {
[13/15] Compiling SwiftttCamera Focus.swift
/host/spi-builder-workspace/Sources/CameraProtocol.swift:3:8: error: no such module 'UIKit'
  1 | // Copyright © 2021 Roger Oba. All rights reserved.
  2 |
  3 | import UIKit
    |        `- error: no such module 'UIKit'
  4 |
  5 | public protocol CameraProtocol : AnyObject {
[14/15] Compiling SwiftttCamera SwiftttCamera.swift
/host/spi-builder-workspace/Sources/CameraProtocol.swift:3:8: error: no such module 'UIKit'
  1 | // Copyright © 2021 Roger Oba. All rights reserved.
  2 |
  3 | import UIKit
    |        `- error: no such module 'UIKit'
  4 |
  5 | public protocol CameraProtocol : AnyObject {
[15/15] Compiling SwiftttCamera Zoom.swift
/host/spi-builder-workspace/Sources/CameraProtocol.swift:3:8: error: no such module 'UIKit'
  1 | // Copyright © 2021 Roger Oba. All rights reserved.
  2 |
  3 | import UIKit
    |        `- error: no such module 'UIKit'
  4 |
  5 | public protocol CameraProtocol : AnyObject {
BUILD FAILURE 6.1 wasm