The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Elephant with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4606859-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.22.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/s2mr/Elephant.git
Reference: 0.1.2
Cloned https://github.com/s2mr/Elephant.git into spi-builder-workspace
SUCCESS checkout https://github.com/s2mr/Elephant.git at 0.1.2
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Unable to find image 'registry.gitlab.com/finestructure/spi-images:basic-5.9-latest' locally
basic-5.9-latest: Pulling from finestructure/spi-images
7007490126ef: Already exists
8bb8ffd53a99: Pulling fs layer
4f4fb700ef54: Pulling fs layer
41ad07ffd8ac: Pulling fs layer
f30c360bb8da: Pulling fs layer
dfbd5b791aec: Pulling fs layer
15b8eb5dbc86: Pulling fs layer
f30c360bb8da: Waiting
dfbd5b791aec: Waiting
15b8eb5dbc86: Waiting
4f4fb700ef54: Download complete
f30c360bb8da: Verifying Checksum
f30c360bb8da: Download complete
dfbd5b791aec: Download complete
8bb8ffd53a99: Download complete
15b8eb5dbc86: Verifying Checksum
15b8eb5dbc86: Download complete
41ad07ffd8ac: Verifying Checksum
41ad07ffd8ac: Download complete
8bb8ffd53a99: Pull complete
4f4fb700ef54: Pull complete
41ad07ffd8ac: Pull complete
f30c360bb8da: Pull complete
dfbd5b791aec: Pull complete
15b8eb5dbc86: Pull complete
Digest: sha256:e115d1546279be030b2b4dbf714a1c8da0fa5f86b7706840935544373911af3a
Status: Downloaded newer image for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/Elephant/Info.plist
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/5] Emitting module Elephant
/host/spi-builder-workspace/Sources/Elephant/JavaScriptExecutor.swift:2:8: error: no such module 'WebKit'
import WebKit
       ^
[2/5] Compiling Elephant SVGView.swift
/host/spi-builder-workspace/Sources/Elephant/JavaScriptExecutor.swift:2:8: error: no such module 'WebKit'
import WebKit
       ^
[3/5] Compiling Elephant AnimationOwner.swift
/host/spi-builder-workspace/Sources/Elephant/JavaScriptExecutor.swift:2:8: error: no such module 'WebKit'
import WebKit
       ^
[4/5] Compiling Elephant SVGLoader.swift
/host/spi-builder-workspace/Sources/Elephant/JavaScriptExecutor.swift:2:8: error: no such module 'WebKit'
import WebKit
       ^
[5/5] Compiling Elephant JavaScriptExecutor.swift
/host/spi-builder-workspace/Sources/Elephant/JavaScriptExecutor.swift:2:8: error: no such module 'WebKit'
import WebKit
       ^
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 1