Build Information
Failed to build EpubReaderLight, reference main (ca4b50), with Swift 6.1 for Wasm on 29 May 2025 23:40:51 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/pichukov/epub-reader-light.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/pichukov/epub-reader-light
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at ca4b50e update README with more examples
Cloned https://github.com/pichukov/epub-reader-light.git
Revision (git rev-parse @):
ca4b50e1f3685d46f0a13ec29a4e2af10805e742
SUCCESS checkout https://github.com/pichukov/epub-reader-light.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/pichukov/epub-reader-light.git
https://github.com/pichukov/epub-reader-light.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "EpubReaderLight",
"name" : "EpubReaderLight",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "14.0"
},
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "EpubReaderLight",
"targets" : [
"EpubReaderLight"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "EpubReaderLightTests",
"module_type" : "SwiftTarget",
"name" : "EpubReaderLightTests",
"path" : "Tests/EpubReaderLightTests",
"sources" : [
"EpubReaderLightTests.swift"
],
"target_dependencies" : [
"EpubReaderLight"
],
"type" : "test"
},
{
"c99name" : "EpubReaderLight",
"module_type" : "SwiftTarget",
"name" : "EpubReaderLight",
"path" : "Sources/EpubReaderLight",
"product_memberships" : [
"EpubReaderLight"
],
"resources" : [
{
"path" : "/host/spi-builder-workspace/Sources/EpubReaderLight/Resources/Web/bundle.js",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/EpubReaderLight/Resources/Web/index.css",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/EpubReaderLight/Resources/Web/index.html",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/EpubReaderLight/Resources/Web/themes.css",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"Data/BookData.swift",
"Data/BookEvent.swift",
"Data/BookSavedData.swift",
"Data/ReaderErrors.swift",
"Data/Theme.swift",
"Data/WordHighlight.swift",
"Extensions/Data+Extension.swift",
"Extensions/String+Extension.swift",
"Extensions/UIColor+Extension.swift",
"ReaderEventsHandler.swift",
"ReaderView.swift",
"ReaderViewController.swift",
"WebProxy/WebManager.swift",
"WebProxy/WebView.swift",
"resource_current_bundle_accessor.swift"
],
"type" : "library"
}
],
"tools_version" : "5.8"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/6] Write sources
[1/6] Copying index.html
[1/6] Copying index.css
[3/6] Copying themes.css
[4/6] Copying bundle.js
[5/6] Write swift-version-24593BA9C3E375BF.txt
[7/21] Compiling EpubReaderLight UIColor+Extension.swift
/host/spi-builder-workspace/Sources/EpubReaderLight/Data/WordHighlight.swift:1:8: error: no such module 'UIKit'
1 | import UIKit
| `- error: no such module 'UIKit'
2 |
3 | public struct WordHighlight: Codable {
[8/21] Compiling EpubReaderLight ReaderEventsHandler.swift
/host/spi-builder-workspace/Sources/EpubReaderLight/Data/WordHighlight.swift:1:8: error: no such module 'UIKit'
1 | import UIKit
| `- error: no such module 'UIKit'
2 |
3 | public struct WordHighlight: Codable {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/23] Emitting module EpubReaderLight
/host/spi-builder-workspace/Sources/EpubReaderLight/Data/WordHighlight.swift:1:8: error: no such module 'UIKit'
1 | import UIKit
| `- error: no such module 'UIKit'
2 |
3 | public struct WordHighlight: Codable {
[10/23] Compiling EpubReaderLight BookSavedData.swift
/host/spi-builder-workspace/Sources/EpubReaderLight/Data/WordHighlight.swift:1:8: error: no such module 'UIKit'
1 | import UIKit
| `- error: no such module 'UIKit'
2 |
3 | public struct WordHighlight: Codable {
[11/23] Compiling EpubReaderLight ReaderErrors.swift
/host/spi-builder-workspace/Sources/EpubReaderLight/Data/WordHighlight.swift:1:8: error: no such module 'UIKit'
1 | import UIKit
| `- error: no such module 'UIKit'
2 |
3 | public struct WordHighlight: Codable {
[12/23] Compiling EpubReaderLight Theme.swift
/host/spi-builder-workspace/Sources/EpubReaderLight/Data/WordHighlight.swift:1:8: error: no such module 'UIKit'
1 | import UIKit
| `- error: no such module 'UIKit'
2 |
3 | public struct WordHighlight: Codable {
[13/23] Compiling EpubReaderLight WordHighlight.swift
/host/spi-builder-workspace/Sources/EpubReaderLight/Data/WordHighlight.swift:1:8: error: no such module 'UIKit'
1 | import UIKit
| `- error: no such module 'UIKit'
2 |
3 | public struct WordHighlight: Codable {
[14/23] Compiling EpubReaderLight BookData.swift
/host/spi-builder-workspace/Sources/EpubReaderLight/Data/WordHighlight.swift:1:8: error: no such module 'UIKit'
1 | import UIKit
| `- error: no such module 'UIKit'
2 |
3 | public struct WordHighlight: Codable {
[15/23] Compiling EpubReaderLight BookEvent.swift
/host/spi-builder-workspace/Sources/EpubReaderLight/Data/WordHighlight.swift:1:8: error: no such module 'UIKit'
1 | import UIKit
| `- error: no such module 'UIKit'
2 |
3 | public struct WordHighlight: Codable {
[16/23] Compiling EpubReaderLight resource_current_bundle_accessor.swift
/host/spi-builder-workspace/Sources/EpubReaderLight/Data/WordHighlight.swift:1:8: error: no such module 'UIKit'
1 | import UIKit
| `- error: no such module 'UIKit'
2 |
3 | public struct WordHighlight: Codable {
[17/23] Compiling EpubReaderLight resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/EpubReaderLight/Data/WordHighlight.swift:1:8: error: no such module 'UIKit'
1 | import UIKit
| `- error: no such module 'UIKit'
2 |
3 | public struct WordHighlight: Codable {
[18/23] Compiling EpubReaderLight ReaderView.swift
/host/spi-builder-workspace/Sources/EpubReaderLight/Data/WordHighlight.swift:1:8: error: no such module 'UIKit'
1 | import UIKit
| `- error: no such module 'UIKit'
2 |
3 | public struct WordHighlight: Codable {
[19/23] Compiling EpubReaderLight ReaderViewController.swift
/host/spi-builder-workspace/Sources/EpubReaderLight/Data/WordHighlight.swift:1:8: error: no such module 'UIKit'
1 | import UIKit
| `- error: no such module 'UIKit'
2 |
3 | public struct WordHighlight: Codable {
[20/23] Compiling EpubReaderLight WebManager.swift
/host/spi-builder-workspace/Sources/EpubReaderLight/Data/WordHighlight.swift:1:8: error: no such module 'UIKit'
1 | import UIKit
| `- error: no such module 'UIKit'
2 |
3 | public struct WordHighlight: Codable {
[21/23] Compiling EpubReaderLight WebView.swift
/host/spi-builder-workspace/Sources/EpubReaderLight/Data/WordHighlight.swift:1:8: error: no such module 'UIKit'
1 | import UIKit
| `- error: no such module 'UIKit'
2 |
3 | public struct WordHighlight: Codable {
[22/23] Compiling EpubReaderLight Data+Extension.swift
/host/spi-builder-workspace/Sources/EpubReaderLight/Data/WordHighlight.swift:1:8: error: no such module 'UIKit'
1 | import UIKit
| `- error: no such module 'UIKit'
2 |
3 | public struct WordHighlight: Codable {
[23/23] Compiling EpubReaderLight String+Extension.swift
/host/spi-builder-workspace/Sources/EpubReaderLight/Data/WordHighlight.swift:1:8: error: no such module 'UIKit'
1 | import UIKit
| `- error: no such module 'UIKit'
2 |
3 | public struct WordHighlight: Codable {
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/16] Compiling EpubReaderLight ReaderView.swift
/host/spi-builder-workspace/Sources/EpubReaderLight/Data/WordHighlight.swift:1:8: error: no such module 'UIKit'
1 | import UIKit
| `- error: no such module 'UIKit'
2 |
3 | public struct WordHighlight: Codable {
[3/16] Compiling EpubReaderLight ReaderViewController.swift
/host/spi-builder-workspace/Sources/EpubReaderLight/Data/WordHighlight.swift:1:8: error: no such module 'UIKit'
1 | import UIKit
| `- error: no such module 'UIKit'
2 |
3 | public struct WordHighlight: Codable {
[4/16] Compiling EpubReaderLight Theme.swift
/host/spi-builder-workspace/Sources/EpubReaderLight/Data/WordHighlight.swift:1:8: error: no such module 'UIKit'
1 | import UIKit
| `- error: no such module 'UIKit'
2 |
3 | public struct WordHighlight: Codable {
[5/16] Compiling EpubReaderLight WordHighlight.swift
/host/spi-builder-workspace/Sources/EpubReaderLight/Data/WordHighlight.swift:1:8: error: no such module 'UIKit'
1 | import UIKit
| `- error: no such module 'UIKit'
2 |
3 | public struct WordHighlight: Codable {
[6/16] Compiling EpubReaderLight Data+Extension.swift
/host/spi-builder-workspace/Sources/EpubReaderLight/Data/WordHighlight.swift:1:8: error: no such module 'UIKit'
1 | import UIKit
| `- error: no such module 'UIKit'
2 |
3 | public struct WordHighlight: Codable {
[7/16] Compiling EpubReaderLight String+Extension.swift
/host/spi-builder-workspace/Sources/EpubReaderLight/Data/WordHighlight.swift:1:8: error: no such module 'UIKit'
1 | import UIKit
| `- error: no such module 'UIKit'
2 |
3 | public struct WordHighlight: Codable {
[8/18] Compiling EpubReaderLight UIColor+Extension.swift
/host/spi-builder-workspace/Sources/EpubReaderLight/Data/WordHighlight.swift:1:8: error: no such module 'UIKit'
1 | import UIKit
| `- error: no such module 'UIKit'
2 |
3 | public struct WordHighlight: Codable {
[9/18] Compiling EpubReaderLight ReaderEventsHandler.swift
/host/spi-builder-workspace/Sources/EpubReaderLight/Data/WordHighlight.swift:1:8: error: no such module 'UIKit'
1 | import UIKit
| `- error: no such module 'UIKit'
2 |
3 | public struct WordHighlight: Codable {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/18] Emitting module EpubReaderLight
/host/spi-builder-workspace/Sources/EpubReaderLight/Data/WordHighlight.swift:1:8: error: no such module 'UIKit'
1 | import UIKit
| `- error: no such module 'UIKit'
2 |
3 | public struct WordHighlight: Codable {
[11/18] Compiling EpubReaderLight BookSavedData.swift
/host/spi-builder-workspace/Sources/EpubReaderLight/Data/WordHighlight.swift:1:8: error: no such module 'UIKit'
1 | import UIKit
| `- error: no such module 'UIKit'
2 |
3 | public struct WordHighlight: Codable {
[12/18] Compiling EpubReaderLight ReaderErrors.swift
/host/spi-builder-workspace/Sources/EpubReaderLight/Data/WordHighlight.swift:1:8: error: no such module 'UIKit'
1 | import UIKit
| `- error: no such module 'UIKit'
2 |
3 | public struct WordHighlight: Codable {
[13/18] Compiling EpubReaderLight BookData.swift
/host/spi-builder-workspace/Sources/EpubReaderLight/Data/WordHighlight.swift:1:8: error: no such module 'UIKit'
1 | import UIKit
| `- error: no such module 'UIKit'
2 |
3 | public struct WordHighlight: Codable {
[14/18] Compiling EpubReaderLight BookEvent.swift
/host/spi-builder-workspace/Sources/EpubReaderLight/Data/WordHighlight.swift:1:8: error: no such module 'UIKit'
1 | import UIKit
| `- error: no such module 'UIKit'
2 |
3 | public struct WordHighlight: Codable {
[15/18] Compiling EpubReaderLight WebManager.swift
/host/spi-builder-workspace/Sources/EpubReaderLight/Data/WordHighlight.swift:1:8: error: no such module 'UIKit'
1 | import UIKit
| `- error: no such module 'UIKit'
2 |
3 | public struct WordHighlight: Codable {
[16/18] Compiling EpubReaderLight WebView.swift
/host/spi-builder-workspace/Sources/EpubReaderLight/Data/WordHighlight.swift:1:8: error: no such module 'UIKit'
1 | import UIKit
| `- error: no such module 'UIKit'
2 |
3 | public struct WordHighlight: Codable {
[17/18] Compiling EpubReaderLight resource_current_bundle_accessor.swift
/host/spi-builder-workspace/Sources/EpubReaderLight/Data/WordHighlight.swift:1:8: error: no such module 'UIKit'
1 | import UIKit
| `- error: no such module 'UIKit'
2 |
3 | public struct WordHighlight: Codable {
[18/18] Compiling EpubReaderLight resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/EpubReaderLight/Data/WordHighlight.swift:1:8: error: no such module 'UIKit'
1 | import UIKit
| `- error: no such module 'UIKit'
2 |
3 | public struct WordHighlight: Codable {
BUILD FAILURE 6.1 wasm