The Swift Package Index logo.Swift Package Index

Build Information

Failed to build JoyStickView with Swift 5.7 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.7-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.28.7
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/bradhowes/Joystick.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/bradhowes/Joystick
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at f78731f Use correct sim
Cloned https://github.com/bradhowes/Joystick.git
Revision (git rev-parse @):
f78731f0af5ed86071fc0fef860ffa35f82309b1
SUCCESS checkout https://github.com/bradhowes/Joystick.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.7
Building package at path:  $PWD/checkout
https://github.com/bradhowes/Joystick.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.7-latest swift build 2>&1
Fetching https://github.com/apple/swift-docc-plugin
[1/1448] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin (0.50s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.3.0 (0.34s)
Fetching https://github.com/apple/swift-docc-symbolkit
[1/2381] Fetching swift-docc-symbolkit
Fetched https://github.com/apple/swift-docc-symbolkit (0.41s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.35s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-docc-symbolkit
Working copy of https://github.com/apple/swift-docc-symbolkit resolved at 1.0.0
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/JoyStickView/Resources/Assets.xcassets
Compiling plugin Swift-DocC...
Compiling plugin Swift-DocC Preview...
Building for debugging...
[1/6] Compiling JoyStickView JoyStickView.swift
/host/spi-builder-workspace/Sources/JoyStickView/CoreGraphics+Additions.swift:3:8: error: no such module 'CoreGraphics'
import CoreGraphics
       ^
[2/6] Compiling JoyStickView JoyStickViewMonitor.swift
/host/spi-builder-workspace/Sources/JoyStickView/CoreGraphics+Additions.swift:3:8: error: no such module 'CoreGraphics'
import CoreGraphics
       ^
[3/6] Compiling JoyStickView CoreGraphics+Additions.swift
/host/spi-builder-workspace/Sources/JoyStickView/CoreGraphics+Additions.swift:3:8: error: no such module 'CoreGraphics'
import CoreGraphics
       ^
[4/6] Compiling JoyStickView Polar.swift
/host/spi-builder-workspace/Sources/JoyStickView/CoreGraphics+Additions.swift:3:8: error: no such module 'CoreGraphics'
import CoreGraphics
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)[5/6] Compiling JoyStickView Bundle+Additions.swift
/host/spi-builder-workspace/Sources/JoyStickView/CoreGraphics+Additions.swift:3:8: error: no such module 'CoreGraphics'
import CoreGraphics
       ^
[6/6] Emitting module JoyStickView
/host/spi-builder-workspace/Sources/JoyStickView/CoreGraphics+Additions.swift:3:8: error: no such module 'CoreGraphics'
import CoreGraphics
       ^
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/JoyStickView/Resources/Assets.xcassets
[0/1] Planning build
Compiling plugin Swift-DocC...
Compiling plugin Swift-DocC Preview...
Building for debugging...
[1/6] Compiling JoyStickView Polar.swift
/host/spi-builder-workspace/Sources/JoyStickView/CoreGraphics+Additions.swift:3:8: error: no such module 'CoreGraphics'
import CoreGraphics
       ^
[2/6] Compiling JoyStickView JoyStickViewMonitor.swift
/host/spi-builder-workspace/Sources/JoyStickView/CoreGraphics+Additions.swift:3:8: error: no such module 'CoreGraphics'
import CoreGraphics
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)[3/6] Compiling JoyStickView CoreGraphics+Additions.swift
/host/spi-builder-workspace/Sources/JoyStickView/CoreGraphics+Additions.swift:3:8: error: no such module 'CoreGraphics'
import CoreGraphics
       ^
[4/6] Compiling JoyStickView Bundle+Additions.swift
/host/spi-builder-workspace/Sources/JoyStickView/CoreGraphics+Additions.swift:3:8: error: no such module 'CoreGraphics'
import CoreGraphics
       ^
[5/6] Compiling JoyStickView JoyStickView.swift
/host/spi-builder-workspace/Sources/JoyStickView/CoreGraphics+Additions.swift:3:8: error: no such module 'CoreGraphics'
import CoreGraphics
       ^
[6/6] Emitting module JoyStickView
/host/spi-builder-workspace/Sources/JoyStickView/CoreGraphics+Additions.swift:3:8: error: no such module 'CoreGraphics'
import CoreGraphics
       ^
BUILD FAILURE 5.7 linux

Build Machine: Linux 2