Build Information
Failed to build Elephant with Swift 5.7 for Linux.
Build Command
docker run --rm -v "checkouts-4609320-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.7-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.7
Building package at path: spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4609320-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.7-latest swift build 2>&1
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...
[1/5] Compiling Elephant SVGView.swift
/host/spi-builder-workspace/Sources/Elephant/JavaScriptExecutor.swift:2:8: error: no such module 'WebKit'
import WebKit
^
[2/5] Compiling Elephant SVGLoader.swift
/host/spi-builder-workspace/Sources/Elephant/JavaScriptExecutor.swift:2:8: error: no such module 'WebKit'
import WebKit
^
error: emit-module command failed with exit code 1 (use -v to see invocation)[3/5] Emitting module Elephant
/host/spi-builder-workspace/Sources/Elephant/JavaScriptExecutor.swift:2:8: error: no such module 'WebKit'
import WebKit
^
[4/5] Compiling Elephant JavaScriptExecutor.swift
/host/spi-builder-workspace/Sources/Elephant/JavaScriptExecutor.swift:2:8: error: no such module 'WebKit'
import WebKit
^
[5/5] Compiling Elephant AnimationOwner.swift
/host/spi-builder-workspace/Sources/Elephant/JavaScriptExecutor.swift:2:8: error: no such module 'WebKit'
import WebKit
^
BUILD FAILURE 5.7 linux
Build Machine: Linux 2