The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ViewKit, reference develop (27c1ed), with Swift 6.1 for Wasm on 28 May 2025 15:29:59 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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/lucaswkuipers/ViewKit.git
Reference: develop
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/lucaswkuipers/ViewKit
 * branch            develop    -> FETCH_HEAD
 * [new branch]      develop    -> origin/develop
HEAD is now at 27c1eda Update README.md
Cloned https://github.com/lucaswkuipers/ViewKit.git
Revision (git rev-parse @):
27c1eda073f5b439b027926b8cfd36337127c401
SUCCESS checkout https://github.com/lucaswkuipers/ViewKit.git at develop
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/lucaswkuipers/ViewKit.git
https://github.com/lucaswkuipers/ViewKit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "ViewKit",
  "name" : "ViewKit",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "11.0"
    }
  ],
  "products" : [
    {
      "name" : "ViewKit",
      "targets" : [
        "ViewKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ViewKitTests",
      "module_type" : "SwiftTarget",
      "name" : "ViewKitTests",
      "path" : "Tests/ViewKitTests",
      "sources" : [
        "UILabel+tests.swift"
      ],
      "target_dependencies" : [
        "ViewKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ViewKit",
      "module_type" : "SwiftTarget",
      "name" : "ViewKit",
      "path" : "Sources/ViewKit",
      "product_memberships" : [
        "ViewKit"
      ],
      "sources" : [
        "Builders/ConstraintBuilder.swift",
        "Builders/ProgrammaticViewBuilder.swift",
        "Builders/StackViewBuilder.swift",
        "Components/Filler.swift",
        "Components/For.swift",
        "Components/HorizontalStack.swift",
        "Components/ProgrammaticView.swift",
        "Components/VerticalStack.swift",
        "Components/ViewController.swift",
        "Extensions/UIButton+extensions.swift",
        "Extensions/UIControl+extensions.swift",
        "Extensions/UIImageView+extensions.swift",
        "Extensions/UILabel+extensions.swift",
        "Extensions/UIScene+extensions.swift",
        "Extensions/UIStackView+extensions.swift",
        "Extensions/UITextField+extensions.swift",
        "Extensions/UIView+extensions.swift",
        "Internal/@_exported.swift",
        "Internal/ClosureTapGestureRecognizer.swift",
        "Internal/Notification.swift",
        "Preview/UIViewPreview.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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
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/22] Emitting module ViewKit
/host/spi-builder-workspace/Sources/ViewKit/Internal/@_exported.swift:1:19: error: no such module 'UIKit'
1 | @_exported import UIKit
  |                   `- error: no such module 'UIKit'
2 |
[4/24] Compiling ViewKit ProgrammaticView.swift
/host/spi-builder-workspace/Sources/ViewKit/Internal/@_exported.swift:1:19: error: no such module 'UIKit'
1 | @_exported import UIKit
  |                   `- error: no such module 'UIKit'
2 |
[5/24] Compiling ViewKit VerticalStack.swift
/host/spi-builder-workspace/Sources/ViewKit/Internal/@_exported.swift:1:19: error: no such module 'UIKit'
1 | @_exported import UIKit
  |                   `- error: no such module 'UIKit'
2 |
[6/24] Compiling ViewKit ViewController.swift
/host/spi-builder-workspace/Sources/ViewKit/Internal/@_exported.swift:1:19: error: no such module 'UIKit'
1 | @_exported import UIKit
  |                   `- error: no such module 'UIKit'
2 |
[7/24] Compiling ViewKit Filler.swift
/host/spi-builder-workspace/Sources/ViewKit/Internal/@_exported.swift:1:19: error: no such module 'UIKit'
1 | @_exported import UIKit
  |                   `- error: no such module 'UIKit'
2 |
[8/24] Compiling ViewKit For.swift
/host/spi-builder-workspace/Sources/ViewKit/Internal/@_exported.swift:1:19: error: no such module 'UIKit'
1 | @_exported import UIKit
  |                   `- error: no such module 'UIKit'
2 |
[9/24] Compiling ViewKit HorizontalStack.swift
/host/spi-builder-workspace/Sources/ViewKit/Internal/@_exported.swift:1:19: error: no such module 'UIKit'
1 | @_exported import UIKit
  |                   `- error: no such module 'UIKit'
2 |
[10/24] Compiling ViewKit Notification.swift
/host/spi-builder-workspace/Sources/ViewKit/Internal/@_exported.swift:1:19: error: no such module 'UIKit'
1 | @_exported import UIKit
  |                   `- error: no such module 'UIKit'
2 |
[11/24] Compiling ViewKit UIViewPreview.swift
/host/spi-builder-workspace/Sources/ViewKit/Internal/@_exported.swift:1:19: error: no such module 'UIKit'
1 | @_exported import UIKit
  |                   `- error: no such module 'UIKit'
2 |
[12/24] Compiling ViewKit ConstraintBuilder.swift
/host/spi-builder-workspace/Sources/ViewKit/Internal/@_exported.swift:1:19: error: no such module 'UIKit'
1 | @_exported import UIKit
  |                   `- error: no such module 'UIKit'
2 |
[13/24] Compiling ViewKit ProgrammaticViewBuilder.swift
/host/spi-builder-workspace/Sources/ViewKit/Internal/@_exported.swift:1:19: error: no such module 'UIKit'
1 | @_exported import UIKit
  |                   `- error: no such module 'UIKit'
2 |
[14/24] Compiling ViewKit StackViewBuilder.swift
/host/spi-builder-workspace/Sources/ViewKit/Internal/@_exported.swift:1:19: error: no such module 'UIKit'
1 | @_exported import UIKit
  |                   `- error: no such module 'UIKit'
2 |
[15/24] Compiling ViewKit UITextField+extensions.swift
/host/spi-builder-workspace/Sources/ViewKit/Internal/@_exported.swift:1:19: error: no such module 'UIKit'
1 | @_exported import UIKit
  |                   `- error: no such module 'UIKit'
2 |
[16/24] Compiling ViewKit UIView+extensions.swift
/host/spi-builder-workspace/Sources/ViewKit/Internal/@_exported.swift:1:19: error: no such module 'UIKit'
1 | @_exported import UIKit
  |                   `- error: no such module 'UIKit'
2 |
[17/24] Compiling ViewKit @_exported.swift
/host/spi-builder-workspace/Sources/ViewKit/Internal/@_exported.swift:1:19: error: no such module 'UIKit'
1 | @_exported import UIKit
  |                   `- error: no such module 'UIKit'
2 |
[18/24] Compiling ViewKit ClosureTapGestureRecognizer.swift
/host/spi-builder-workspace/Sources/ViewKit/Internal/@_exported.swift:1:19: error: no such module 'UIKit'
1 | @_exported import UIKit
  |                   `- error: no such module 'UIKit'
2 |
[19/24] Compiling ViewKit UILabel+extensions.swift
/host/spi-builder-workspace/Sources/ViewKit/Internal/@_exported.swift:1:19: error: no such module 'UIKit'
1 | @_exported import UIKit
  |                   `- error: no such module 'UIKit'
2 |
[20/24] Compiling ViewKit UIScene+extensions.swift
/host/spi-builder-workspace/Sources/ViewKit/Internal/@_exported.swift:1:19: error: no such module 'UIKit'
1 | @_exported import UIKit
  |                   `- error: no such module 'UIKit'
2 |
[21/24] Compiling ViewKit UIStackView+extensions.swift
/host/spi-builder-workspace/Sources/ViewKit/Internal/@_exported.swift:1:19: error: no such module 'UIKit'
1 | @_exported import UIKit
  |                   `- error: no such module 'UIKit'
2 |
[22/24] Compiling ViewKit UIButton+extensions.swift
/host/spi-builder-workspace/Sources/ViewKit/Internal/@_exported.swift:1:19: error: no such module 'UIKit'
1 | @_exported import UIKit
  |                   `- error: no such module 'UIKit'
2 |
[23/24] Compiling ViewKit UIControl+extensions.swift
/host/spi-builder-workspace/Sources/ViewKit/Internal/@_exported.swift:1:19: error: no such module 'UIKit'
1 | @_exported import UIKit
  |                   `- error: no such module 'UIKit'
2 |
[24/24] Compiling ViewKit UIImageView+extensions.swift
/host/spi-builder-workspace/Sources/ViewKit/Internal/@_exported.swift:1:19: error: no such module 'UIKit'
1 | @_exported import UIKit
  |                   `- error: no such module 'UIKit'
2 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/21] Compiling ViewKit UITextField+extensions.swift
/host/spi-builder-workspace/Sources/ViewKit/Internal/@_exported.swift:1:19: error: no such module 'UIKit'
1 | @_exported import UIKit
  |                   `- error: no such module 'UIKit'
2 |
[3/21] Compiling ViewKit UIView+extensions.swift
/host/spi-builder-workspace/Sources/ViewKit/Internal/@_exported.swift:1:19: error: no such module 'UIKit'
1 | @_exported import UIKit
  |                   `- error: no such module 'UIKit'
2 |
[4/23] Compiling ViewKit UILabel+extensions.swift
/host/spi-builder-workspace/Sources/ViewKit/Internal/@_exported.swift:1:19: error: no such module 'UIKit'
1 | @_exported import UIKit
  |                   `- error: no such module 'UIKit'
2 |
[5/23] Compiling ViewKit UIScene+extensions.swift
/host/spi-builder-workspace/Sources/ViewKit/Internal/@_exported.swift:1:19: error: no such module 'UIKit'
1 | @_exported import UIKit
  |                   `- error: no such module 'UIKit'
2 |
[6/23] Compiling ViewKit UIStackView+extensions.swift
/host/spi-builder-workspace/Sources/ViewKit/Internal/@_exported.swift:1:19: error: no such module 'UIKit'
1 | @_exported import UIKit
  |                   `- error: no such module 'UIKit'
2 |
[7/23] Compiling ViewKit ProgrammaticView.swift
/host/spi-builder-workspace/Sources/ViewKit/Internal/@_exported.swift:1:19: error: no such module 'UIKit'
1 | @_exported import UIKit
  |                   `- error: no such module 'UIKit'
2 |
[8/23] Compiling ViewKit VerticalStack.swift
/host/spi-builder-workspace/Sources/ViewKit/Internal/@_exported.swift:1:19: error: no such module 'UIKit'
1 | @_exported import UIKit
  |                   `- error: no such module 'UIKit'
2 |
[9/23] Compiling ViewKit ViewController.swift
/host/spi-builder-workspace/Sources/ViewKit/Internal/@_exported.swift:1:19: error: no such module 'UIKit'
1 | @_exported import UIKit
  |                   `- error: no such module 'UIKit'
2 |
[10/23] Compiling ViewKit Filler.swift
/host/spi-builder-workspace/Sources/ViewKit/Internal/@_exported.swift:1:19: error: no such module 'UIKit'
1 | @_exported import UIKit
  |                   `- error: no such module 'UIKit'
2 |
[11/23] Compiling ViewKit For.swift
/host/spi-builder-workspace/Sources/ViewKit/Internal/@_exported.swift:1:19: error: no such module 'UIKit'
1 | @_exported import UIKit
  |                   `- error: no such module 'UIKit'
2 |
[12/23] Compiling ViewKit HorizontalStack.swift
/host/spi-builder-workspace/Sources/ViewKit/Internal/@_exported.swift:1:19: error: no such module 'UIKit'
1 | @_exported import UIKit
  |                   `- error: no such module 'UIKit'
2 |
[13/23] Compiling ViewKit UIButton+extensions.swift
/host/spi-builder-workspace/Sources/ViewKit/Internal/@_exported.swift:1:19: error: no such module 'UIKit'
1 | @_exported import UIKit
  |                   `- error: no such module 'UIKit'
2 |
[14/23] Compiling ViewKit UIControl+extensions.swift
/host/spi-builder-workspace/Sources/ViewKit/Internal/@_exported.swift:1:19: error: no such module 'UIKit'
1 | @_exported import UIKit
  |                   `- error: no such module 'UIKit'
2 |
[15/23] Compiling ViewKit UIImageView+extensions.swift
/host/spi-builder-workspace/Sources/ViewKit/Internal/@_exported.swift:1:19: error: no such module 'UIKit'
1 | @_exported import UIKit
  |                   `- error: no such module 'UIKit'
2 |
[16/23] Compiling ViewKit @_exported.swift
/host/spi-builder-workspace/Sources/ViewKit/Internal/@_exported.swift:1:19: error: no such module 'UIKit'
1 | @_exported import UIKit
  |                   `- error: no such module 'UIKit'
2 |
[17/23] Compiling ViewKit ClosureTapGestureRecognizer.swift
/host/spi-builder-workspace/Sources/ViewKit/Internal/@_exported.swift:1:19: error: no such module 'UIKit'
1 | @_exported import UIKit
  |                   `- error: no such module 'UIKit'
2 |
[18/23] Compiling ViewKit Notification.swift
/host/spi-builder-workspace/Sources/ViewKit/Internal/@_exported.swift:1:19: error: no such module 'UIKit'
1 | @_exported import UIKit
  |                   `- error: no such module 'UIKit'
2 |
[19/23] Compiling ViewKit UIViewPreview.swift
/host/spi-builder-workspace/Sources/ViewKit/Internal/@_exported.swift:1:19: error: no such module 'UIKit'
1 | @_exported import UIKit
  |                   `- error: no such module 'UIKit'
2 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[20/23] Emitting module ViewKit
/host/spi-builder-workspace/Sources/ViewKit/Internal/@_exported.swift:1:19: error: no such module 'UIKit'
1 | @_exported import UIKit
  |                   `- error: no such module 'UIKit'
2 |
[21/23] Compiling ViewKit ConstraintBuilder.swift
/host/spi-builder-workspace/Sources/ViewKit/Internal/@_exported.swift:1:19: error: no such module 'UIKit'
1 | @_exported import UIKit
  |                   `- error: no such module 'UIKit'
2 |
[22/23] Compiling ViewKit ProgrammaticViewBuilder.swift
/host/spi-builder-workspace/Sources/ViewKit/Internal/@_exported.swift:1:19: error: no such module 'UIKit'
1 | @_exported import UIKit
  |                   `- error: no such module 'UIKit'
2 |
[23/23] Compiling ViewKit StackViewBuilder.swift
/host/spi-builder-workspace/Sources/ViewKit/Internal/@_exported.swift:1:19: error: no such module 'UIKit'
1 | @_exported import UIKit
  |                   `- error: no such module 'UIKit'
2 |
BUILD FAILURE 6.1 wasm