The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Scalar2D with Swift 5.10 for Linux.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/generallyhelpfulsoftware/scalar2d.git
Reference: master
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/generallyhelpfulsoftware/scalar2d
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at a510d13 Color context was't being passed through.
Cloned https://github.com/generallyhelpfulsoftware/scalar2d.git
Revision (git rev-parse @):
a510d13373e768d04566df7066a01c81ef73daf6
SUCCESS checkout https://github.com/generallyhelpfulsoftware/scalar2d.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/generallyhelpfulsoftware/scalar2d.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Building for debugging...
[0/12] Write sources
[11/12] Write swift-version-24593BA9C3E375BF.txt
[13/28] Emitting module Scalar2D_Utils
[14/28] Compiling Scalar2D_Colour HexColourParser.swift
[15/28] Compiling Scalar2D_Colour ICCColourParser.swift
[16/29] Compiling Scalar2D_Colour UIColor+ColourParser.swift
[17/29] Emitting module Scalar2D_Colour
[18/29] Compiling Scalar2D_Colour CGColor+ColourParser.swift
[19/29] Compiling Scalar2D_Colour ColourParser.swift
[20/29] Compiling Scalar2D_Colour DeviceGrayColourParser.swift
[21/29] Compiling Scalar2D_Colour DeviceRGBColourParser.swift
[22/29] Compiling Scalar2D_Utils UnicodeScalarView+Utils.swift
[23/29] Compiling Scalar2D_Utils Parsing.swift
[24/29] Compiling Scalar2D_Colour DeviceCYMKColourParser.swift
[25/29] Compiling Scalar2D_Colour DeviceColourParser.swift
[26/29] Compiling Scalar2D_Colour RGBColourParser.swift
[27/29] Compiling Scalar2D_Utils InheritableProperty.swift
[28/29] Compiling Scalar2D_Colour NSColor+ColourParser.swift
[30/39] Compiling Scalar2D_GraphicPath UIBezierPath+SVG.swift
/host/spi-builder-workspace/GraphicPath/Sources/CGPath+Iterate.swift:36:8: error: no such module 'CoreGraphics'
import CoreGraphics
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[31/39] Emitting module Scalar2D_GraphicPath
/host/spi-builder-workspace/GraphicPath/Sources/CGPath+Iterate.swift:36:8: error: no such module 'CoreGraphics'
import CoreGraphics
       ^
[32/39] Compiling Scalar2D_GraphicPath NSBezierPath+SVG.swift
/host/spi-builder-workspace/GraphicPath/Sources/CGPath+Iterate.swift:36:8: error: no such module 'CoreGraphics'
import CoreGraphics
       ^
[33/39] Compiling Scalar2D_GraphicPath CGPath+SVG.swift
/host/spi-builder-workspace/GraphicPath/Sources/CGPath+Iterate.swift:36:8: error: no such module 'CoreGraphics'
import CoreGraphics
       ^
[34/39] Compiling Scalar2D_GraphicPath CGPath+Iterate.swift
/host/spi-builder-workspace/GraphicPath/Sources/CGPath+Iterate.swift:36:8: error: no such module 'CoreGraphics'
import CoreGraphics
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[35/39] Emitting module Scalar2D_FontDescription
/host/spi-builder-workspace/Font/Sources/CoreText+FontDescription.swift:36:8: error: no such module 'CoreText'
import CoreText
       ^
[36/39] Compiling Scalar2D_FontDescription FontDescription.swift
/host/spi-builder-workspace/Font/Sources/CoreText+FontDescription.swift:36:8: error: no such module 'CoreText'
import CoreText
       ^
[37/39] Compiling Scalar2D_FontDescription CoreText+FontDescription.swift
/host/spi-builder-workspace/Font/Sources/CoreText+FontDescription.swift:36:8: error: no such module 'CoreText'
import CoreText
       ^
error: fatalError
/host/spi-builder-workspace/GraphicPath/Sources/CGPath+Iterate.swift:36:8: error: no such module 'CoreGraphics'
import CoreGraphics
       ^
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/12] Compiling Scalar2D_GraphicPath UIBezierPath+SVG.swift
/host/spi-builder-workspace/GraphicPath/Sources/CGPath+Iterate.swift:36:8: error: no such module 'CoreGraphics'
import CoreGraphics
       ^
[3/12] Compiling Scalar2D_GraphicPath CGPath+SVG.swift
/host/spi-builder-workspace/GraphicPath/Sources/CGPath+Iterate.swift:36:8: error: no such module 'CoreGraphics'
import CoreGraphics
       ^
[4/12] Compiling Scalar2D_GraphicPath CGPath+Iterate.swift
/host/spi-builder-workspace/GraphicPath/Sources/CGPath+Iterate.swift:36:8: error: no such module 'CoreGraphics'
import CoreGraphics
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/12] Emitting module Scalar2D_GraphicPath
/host/spi-builder-workspace/GraphicPath/Sources/CGPath+Iterate.swift:36:8: error: no such module 'CoreGraphics'
import CoreGraphics
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/12] Emitting module Scalar2D_FontDescription
/host/spi-builder-workspace/Font/Sources/CoreText+FontDescription.swift:36:8: error: no such module 'CoreText'
import CoreText
       ^
[7/12] Compiling Scalar2D_FontDescription CoreText+FontDescription.swift
/host/spi-builder-workspace/Font/Sources/CoreText+FontDescription.swift:36:8: error: no such module 'CoreText'
import CoreText
       ^
[8/12] Compiling Scalar2D_FontDescription FontDescription.swift
/host/spi-builder-workspace/Font/Sources/CoreText+FontDescription.swift:36:8: error: no such module 'CoreText'
import CoreText
       ^
error: fatalError
/host/spi-builder-workspace/GraphicPath/Sources/CGPath+Iterate.swift:36:8: error: no such module 'CoreGraphics'
import CoreGraphics
       ^
BUILD FAILURE 5.10 linux

Build Machine: Linux 2