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 Mentalist, reference main (a41b36), with Swift 6.1 for Wasm on 30 May 2025 00:58:53 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.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/enebin/Mentalist.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/enebin/Mentalist
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at a41b36d Merge pull request #1 from jasompi/main
Cloned https://github.com/enebin/Mentalist.git
Revision (git rev-parse @):
a41b36d21208675024debfb60ccdba22d6ca77f8
SUCCESS checkout https://github.com/enebin/Mentalist.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/enebin/Mentalist.git
https://github.com/enebin/Mentalist.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Mentalist",
  "name" : "Mentalist",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.13"
    },
    {
      "name" : "ios",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "Mentalist",
      "targets" : [
        "Mentalist"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MentalistTests",
      "module_type" : "SwiftTarget",
      "name" : "MentalistTests",
      "path" : "Tests/MentalistTests",
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Tests/MentalistTests/Resources/FaceImage.xcassets",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "FaceImageToolTests.swift",
        "MentalistTests.swift"
      ],
      "target_dependencies" : [
        "Mentalist"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Mentalist",
      "module_type" : "SwiftTarget",
      "name" : "Mentalist",
      "path" : "Sources/Mentalist",
      "product_memberships" : [
        "Mentalist"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/Mentalist/Resources/FacialExpressionModel.mlpackage/Data/com.apple.CoreML/model.mlmodel",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Mentalist/Resources/FacialExpressionModel.mlpackage/Manifest.json",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "Extension/UIView + Extension.swift",
        "Extension/View + Extentsion.swift",
        "FaceImageTool.swift",
        "Mentalist.swift",
        "MentalistCore.swift",
        "Model/Emotion.swift",
        "Model/EmotionAnalysis.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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
Building for debugging...
[0/4] Write sources
[1/4] Copying Manifest.json
[2/4] Copying model.mlmodel
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/12] Compiling Mentalist EmotionAnalysis.swift
/host/spi-builder-workspace/Sources/Mentalist/Extension/UIView + Extension.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | extension UIView {
[6/13] Compiling Mentalist Mentalist.swift
/host/spi-builder-workspace/Sources/Mentalist/Extension/UIView + Extension.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | extension UIView {
[7/13] Compiling Mentalist resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/Mentalist/Extension/UIView + Extension.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | extension UIView {
[8/13] Compiling Mentalist MentalistCore.swift
/host/spi-builder-workspace/Sources/Mentalist/Extension/UIView + Extension.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | extension UIView {
[9/13] Compiling Mentalist Emotion.swift
/host/spi-builder-workspace/Sources/Mentalist/Extension/UIView + Extension.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | extension UIView {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/13] Emitting module Mentalist
/host/spi-builder-workspace/Sources/Mentalist/Extension/UIView + Extension.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | extension UIView {
[11/13] Compiling Mentalist FaceImageTool.swift
/host/spi-builder-workspace/Sources/Mentalist/Extension/UIView + Extension.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | extension UIView {
[12/13] Compiling Mentalist View + Extentsion.swift
/host/spi-builder-workspace/Sources/Mentalist/Extension/UIView + Extension.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | extension UIView {
[13/13] Compiling Mentalist UIView + Extension.swift
/host/spi-builder-workspace/Sources/Mentalist/Extension/UIView + Extension.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | extension UIView {
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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
[2/9] Compiling Mentalist EmotionAnalysis.swift
/host/spi-builder-workspace/Sources/Mentalist/Extension/UIView + Extension.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | extension UIView {
[3/10] Compiling Mentalist MentalistCore.swift
/host/spi-builder-workspace/Sources/Mentalist/Extension/UIView + Extension.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | extension UIView {
[4/10] Compiling Mentalist Emotion.swift
/host/spi-builder-workspace/Sources/Mentalist/Extension/UIView + Extension.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | extension UIView {
[5/10] Compiling Mentalist Mentalist.swift
/host/spi-builder-workspace/Sources/Mentalist/Extension/UIView + Extension.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | extension UIView {
[6/10] Compiling Mentalist resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/Mentalist/Extension/UIView + Extension.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | extension UIView {
[7/10] Compiling Mentalist UIView + Extension.swift
/host/spi-builder-workspace/Sources/Mentalist/Extension/UIView + Extension.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | extension UIView {
[8/10] Compiling Mentalist View + Extentsion.swift
/host/spi-builder-workspace/Sources/Mentalist/Extension/UIView + Extension.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | extension UIView {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/10] Emitting module Mentalist
/host/spi-builder-workspace/Sources/Mentalist/Extension/UIView + Extension.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | extension UIView {
[10/10] Compiling Mentalist FaceImageTool.swift
/host/spi-builder-workspace/Sources/Mentalist/Extension/UIView + Extension.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | extension UIView {
swift-build: /home/build-user/llbuild/lib/Core/SQLiteBuildDB.cpp:703: virtual void (anonymous namespace)::SQLiteBuildDB::buildComplete(): Assertion `result == SQLITE_OK' failed.
*** Signal 6: Backtracing from 0x7f594dd919fc... done ***
*** Program crashed: Aborted at 0x0000000000000001 ***
Thread 0 "swift-build":
0  0x00007f594dd3d80a <unknown> in libc.so.6
Thread 1:
0  0x00007f594de20e2e <unknown> in libc.so.6
Thread 2 crashed:
0  0x00007f594dd919fc <unknown> in libc.so.6
Thread 3:
0  0x00007f594dd8c117 <unknown> in libc.so.6
Registers:
rax 0x0000000000000000  0
rdx 0x00007f5941ffb640  40 b6 ff 41 59 7f 00 00 30 97 01 44 59 7f 00 00  @¶ÿAY···0··DY···
rcx 0x00007f594dd919fc  41 89 c5 41 f7 dd 3d 00 f0 ff ff b8 00 00 00 00  A·ÅA÷Ý=·ðÿÿ¸····
rbx 0x0000000000000006  6
rsi 0x0000000000000001  1
rdi 0x000000000000003c  60
rbp 0x000000000000003c  60
rsp 0x00007f5941ffa310  2c 59 03 30 59 7f 00 00 00 58 03 30 59 7f 00 00  ,Y·0Y····X·0Y···
 r8 0x00007f5941ffa3e0  20 00 00 00 00 00 00 00 a0 66 f1 4d 59 7f 00 00   ······· fñMY···
 r9 0x0000000000000000  0
r10 0x0000000000000008  8
r11 0x0000000000000246  582
r12 0x0000000000000006  6
r13 0x0000000000000016  22
r14 0x000055e90b335554  72 65 73 75 6c 74 20 3d 3d 20 53 51 4c 49 54 45  result == SQLITE
r15 0x00007f5930013ae0  d8 6a 26 0b e9 55 00 00 38 66 02 30 59 7f 00 00  Øj&·éU··8f·0Y···
rip 0x00007f594dd919fc  41 89 c5 41 f7 dd 3d 00 f0 ff ff b8 00 00 00 00  A·ÅA÷Ý=·ðÿÿ¸····
rflags 0x0000000000000246  ZF PF
cs 0x0033  fs 0x0000  gs 0x0000
Images (71 omitted):
0x00007f594dcfb000–0x00007f594deb7341 cd410b710f0f094c6832edd95931006d883af48e libc.so.6 /usr/lib/x86_64-linux-gnu/libc.so.6
Backtrace took 0.01s
BUILD FAILURE 6.1 wasm