The Swift Package Index logo.Swift Package Index

Build Information

Failed to build HCSlider, reference main (af6d14), with Swift 6.1 for Wasm on 30 May 2025 00:36:22 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/0xdea110c8/HCSlider.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/0xdea110c8/HCSlider
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at af6d143 minor improvements
Cloned https://github.com/0xdea110c8/HCSlider.git
Revision (git rev-parse @):
af6d143c6f70c12b0c187bba6a36bc415c8dd800
SUCCESS checkout https://github.com/0xdea110c8/HCSlider.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/0xdea110c8/HCSlider.git
https://github.com/0xdea110c8/HCSlider.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "HCSlider",
  "name" : "HCSlider",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "HCSlider",
      "targets" : [
        "HCSlider"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "HCSliderTests",
      "module_type" : "SwiftTarget",
      "name" : "HCSliderTests",
      "path" : "Tests/HCSliderTests",
      "sources" : [
        "HCSliderTests.swift"
      ],
      "target_dependencies" : [
        "HCSlider"
      ],
      "type" : "test"
    },
    {
      "c99name" : "HCSlider",
      "module_type" : "SwiftTarget",
      "name" : "HCSlider",
      "path" : "Sources/HCSlider",
      "product_memberships" : [
        "HCSlider"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/HCSlider/Resources/Assets.xcassets",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "Sources/Common/HCColoredView.swift",
        "Sources/Extensions/CGFloat+Half.swift",
        "Sources/Extensions/CGPoint+Clamp.swift",
        "Sources/Extensions/UIColor+.swift",
        "Sources/HCSlider.swift",
        "Sources/HCSubtrack.swift",
        "Sources/HCThumb.swift",
        "Sources/HCTrack.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
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
Building for debugging...
[0/3] Write sources
[1/3] Copying Assets.xcassets
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/12] Compiling HCSlider HCSubtrack.swift
/host/spi-builder-workspace/Sources/HCSlider/Sources/Common/HCColoredView.swift:28:8: error: no such module 'UIKit'
26 | //
27 |
28 | import UIKit
   |        `- error: no such module 'UIKit'
29 |
30 | class HCColoredView: UIView {
[5/13] Compiling HCSlider HCThumb.swift
/host/spi-builder-workspace/Sources/HCSlider/Sources/Common/HCColoredView.swift:28:8: error: no such module 'UIKit'
26 | //
27 |
28 | import UIKit
   |        `- error: no such module 'UIKit'
29 |
30 | class HCColoredView: UIView {
[6/13] Compiling HCSlider HCTrack.swift
/host/spi-builder-workspace/Sources/HCSlider/Sources/Common/HCColoredView.swift:28:8: error: no such module 'UIKit'
26 | //
27 |
28 | import UIKit
   |        `- error: no such module 'UIKit'
29 |
30 | class HCColoredView: UIView {
[7/13] Compiling HCSlider resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/HCSlider/Sources/Common/HCColoredView.swift:28:8: error: no such module 'UIKit'
26 | //
27 |
28 | import UIKit
   |        `- error: no such module 'UIKit'
29 |
30 | class HCColoredView: UIView {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/13] Emitting module HCSlider
/host/spi-builder-workspace/Sources/HCSlider/Sources/Common/HCColoredView.swift:28:8: error: no such module 'UIKit'
26 | //
27 |
28 | import UIKit
   |        `- error: no such module 'UIKit'
29 |
30 | class HCColoredView: UIView {
[9/13] Compiling HCSlider CGPoint+Clamp.swift
/host/spi-builder-workspace/Sources/HCSlider/Sources/Common/HCColoredView.swift:28:8: error: no such module 'UIKit'
26 | //
27 |
28 | import UIKit
   |        `- error: no such module 'UIKit'
29 |
30 | class HCColoredView: UIView {
[10/13] Compiling HCSlider HCSlider.swift
/host/spi-builder-workspace/Sources/HCSlider/Sources/Common/HCColoredView.swift:28:8: error: no such module 'UIKit'
26 | //
27 |
28 | import UIKit
   |        `- error: no such module 'UIKit'
29 |
30 | class HCColoredView: UIView {
[11/13] Compiling HCSlider UIColor+.swift
/host/spi-builder-workspace/Sources/HCSlider/Sources/Common/HCColoredView.swift:28:8: error: no such module 'UIKit'
26 | //
27 |
28 | import UIKit
   |        `- error: no such module 'UIKit'
29 |
30 | class HCColoredView: UIView {
[12/13] Compiling HCSlider HCColoredView.swift
/host/spi-builder-workspace/Sources/HCSlider/Sources/Common/HCColoredView.swift:28:8: error: no such module 'UIKit'
26 | //
27 |
28 | import UIKit
   |        `- error: no such module 'UIKit'
29 |
30 | class HCColoredView: UIView {
[13/13] Compiling HCSlider CGFloat+Half.swift
/host/spi-builder-workspace/Sources/HCSlider/Sources/Common/HCColoredView.swift:28:8: error: no such module 'UIKit'
26 | //
27 |
28 | import UIKit
   |        `- error: no such module 'UIKit'
29 |
30 | class HCColoredView: UIView {
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
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/10] Compiling HCSlider HCTrack.swift
/host/spi-builder-workspace/Sources/HCSlider/Sources/Common/HCColoredView.swift:28:8: error: no such module 'UIKit'
26 | //
27 |
28 | import UIKit
   |        `- error: no such module 'UIKit'
29 |
30 | class HCColoredView: UIView {
[3/10] Compiling HCSlider HCThumb.swift
/host/spi-builder-workspace/Sources/HCSlider/Sources/Common/HCColoredView.swift:28:8: error: no such module 'UIKit'
26 | //
27 |
28 | import UIKit
   |        `- error: no such module 'UIKit'
29 |
30 | class HCColoredView: UIView {
[4/11] Compiling HCSlider HCColoredView.swift
/host/spi-builder-workspace/Sources/HCSlider/Sources/Common/HCColoredView.swift:28:8: error: no such module 'UIKit'
26 | //
27 |
28 | import UIKit
   |        `- error: no such module 'UIKit'
29 |
30 | class HCColoredView: UIView {
[5/11] Compiling HCSlider CGFloat+Half.swift
/host/spi-builder-workspace/Sources/HCSlider/Sources/Common/HCColoredView.swift:28:8: error: no such module 'UIKit'
26 | //
27 |
28 | import UIKit
   |        `- error: no such module 'UIKit'
29 |
30 | class HCColoredView: UIView {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/11] Emitting module HCSlider
/host/spi-builder-workspace/Sources/HCSlider/Sources/Common/HCColoredView.swift:28:8: error: no such module 'UIKit'
26 | //
27 |
28 | import UIKit
   |        `- error: no such module 'UIKit'
29 |
30 | class HCColoredView: UIView {
[7/11] Compiling HCSlider CGPoint+Clamp.swift
/host/spi-builder-workspace/Sources/HCSlider/Sources/Common/HCColoredView.swift:28:8: error: no such module 'UIKit'
26 | //
27 |
28 | import UIKit
   |        `- error: no such module 'UIKit'
29 |
30 | class HCColoredView: UIView {
[8/11] Compiling HCSlider resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/HCSlider/Sources/Common/HCColoredView.swift:28:8: error: no such module 'UIKit'
26 | //
27 |
28 | import UIKit
   |        `- error: no such module 'UIKit'
29 |
30 | class HCColoredView: UIView {
[9/11] Compiling HCSlider HCSubtrack.swift
/host/spi-builder-workspace/Sources/HCSlider/Sources/Common/HCColoredView.swift:28:8: error: no such module 'UIKit'
26 | //
27 |
28 | import UIKit
   |        `- error: no such module 'UIKit'
29 |
30 | class HCColoredView: UIView {
[10/11] Compiling HCSlider UIColor+.swift
/host/spi-builder-workspace/Sources/HCSlider/Sources/Common/HCColoredView.swift:28:8: error: no such module 'UIKit'
26 | //
27 |
28 | import UIKit
   |        `- error: no such module 'UIKit'
29 |
30 | class HCColoredView: UIView {
[11/11] Compiling HCSlider HCSlider.swift
/host/spi-builder-workspace/Sources/HCSlider/Sources/Common/HCColoredView.swift:28:8: error: no such module 'UIKit'
26 | //
27 |
28 | import UIKit
   |        `- error: no such module 'UIKit'
29 |
30 | class HCColoredView: UIView {
BUILD FAILURE 6.1 wasm