The Swift Package Index logo.Swift Package Index

Build Information

Failed to build DrawingTools with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-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/RougeWare/Swift-Drawing-Tools.git
Reference: 2.1.1
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/RougeWare/Swift-Drawing-Tools
 * tag               2.1.1      -> FETCH_HEAD
HEAD is now at 0d05ae2 Merge pull request #11 from RougeWare/feature/Update/RectangleTools/2.10.1
Cloned https://github.com/RougeWare/Swift-Drawing-Tools.git
Revision (git rev-parse @):
0d05ae2e0479111cd4d81f3e19149a4e91ce888e
SUCCESS checkout https://github.com/RougeWare/Swift-Drawing-Tools.git at 2.1.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/RougeWare/Swift-Drawing-Tools.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/RougeWare/Swift-Cross-Kit-Types.git
Fetching https://github.com/koher/swift-image.git
Fetching https://github.com/RougeWare/Swift-MultiplicativeArithmetic.git
Fetching https://github.com/RougeWare/Swift-Rectangle-Tools.git
Fetching https://github.com/RougeWare/Swift-Optional-Tools.git
[1/646] Fetching swift-rectangle-tools
[383/733] Fetching swift-rectangle-tools, swift-multiplicativearithmetic
[734/800] Fetching swift-rectangle-tools, swift-multiplicativearithmetic, swift-optional-tools
Fetched https://github.com/RougeWare/Swift-Rectangle-Tools.git from cache (0.24s)
[1/54] Fetching swift-cross-kit-types
[55/3329] Fetching swift-cross-kit-types, swift-image
Fetched https://github.com/RougeWare/Swift-MultiplicativeArithmetic.git from cache (0.33s)
Fetched https://github.com/RougeWare/Swift-Cross-Kit-Types.git from cache (0.33s)
[623/3275] Fetching swift-image
Fetched https://github.com/RougeWare/Swift-Optional-Tools.git from cache (0.41s)
Fetched https://github.com/koher/swift-image.git from cache (0.42s)
Computing version for https://github.com/koher/swift-image.git
Computed https://github.com/koher/swift-image.git at 0.7.1 (0.39s)
Computing version for https://github.com/RougeWare/Swift-Optional-Tools.git
Computed https://github.com/RougeWare/Swift-Optional-Tools.git at 1.1.1 (0.40s)
Computing version for https://github.com/RougeWare/Swift-Cross-Kit-Types.git
Computed https://github.com/RougeWare/Swift-Cross-Kit-Types.git at 1.0.0 (0.42s)
Computing version for https://github.com/RougeWare/Swift-Rectangle-Tools.git
Computed https://github.com/RougeWare/Swift-Rectangle-Tools.git at 2.10.1 (0.41s)
Computing version for https://github.com/RougeWare/Swift-MultiplicativeArithmetic.git
Computed https://github.com/RougeWare/Swift-MultiplicativeArithmetic.git at 1.3.0 (0.40s)
Creating working copy for https://github.com/koher/swift-image.git
Working copy of https://github.com/koher/swift-image.git resolved at 0.7.1
Creating working copy for https://github.com/RougeWare/Swift-Optional-Tools.git
Working copy of https://github.com/RougeWare/Swift-Optional-Tools.git resolved at 1.1.1
Creating working copy for https://github.com/RougeWare/Swift-Rectangle-Tools.git
Working copy of https://github.com/RougeWare/Swift-Rectangle-Tools.git resolved at 2.10.1
Creating working copy for https://github.com/RougeWare/Swift-MultiplicativeArithmetic.git
Working copy of https://github.com/RougeWare/Swift-MultiplicativeArithmetic.git resolved at 1.3.0
Creating working copy for https://github.com/RougeWare/Swift-Cross-Kit-Types.git
Working copy of https://github.com/RougeWare/Swift-Cross-Kit-Types.git resolved at 1.0.0
Building for debugging...
[0/6] Write sources
[5/6] Write swift-version-24593BA9C3E375BF.txt
[7/16] Compiling CrossKitTypes Cross-Kit Image.swift
/host/spi-builder-workspace/.build/checkouts/Swift-Cross-Kit-Types/Sources/CrossKitTypes/Cross-Kit Image.swift:26:8: error: Unsupported platform; neither UIKit nor AppKit
#error("Unsupported platform; neither UIKit nor AppKit")
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[8/16] Compiling CrossKitTypes Cross-Kit Font.swift
/host/spi-builder-workspace/.build/checkouts/Swift-Cross-Kit-Types/Sources/CrossKitTypes/Cross-Kit Font.swift:26:8: error: Unsupported platform; neither UIKit nor AppKit
#error("Unsupported platform; neither UIKit nor AppKit")
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[9/16] Compiling OptionalTools unwrappedOrThrow.swift
[10/16] Compiling MultiplicativeArithmetic MultiplicativeArithmetic.swift
/host/spi-builder-workspace/.build/checkouts/Swift-MultiplicativeArithmetic/Sources/MultiplicativeArithmetic/Default Conformances.swift:10:8: error: no such module 'CoreGraphics'
import CoreGraphics
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/16] Emitting module CrossKitTypes
/host/spi-builder-workspace/.build/checkouts/Swift-Cross-Kit-Types/Sources/CrossKitTypes/Cross-Kit Color.swift:26:8: error: Unsupported platform; neither UIKit nor AppKit
#error("Unsupported platform; neither UIKit nor AppKit")
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Swift-Cross-Kit-Types/Sources/CrossKitTypes/Cross-Kit Font.swift:26:8: error: Unsupported platform; neither UIKit nor AppKit
#error("Unsupported platform; neither UIKit nor AppKit")
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Swift-Cross-Kit-Types/Sources/CrossKitTypes/Cross-Kit Image.swift:26:8: error: Unsupported platform; neither UIKit nor AppKit
#error("Unsupported platform; neither UIKit nor AppKit")
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[12/16] Compiling CrossKitTypes Cross-Kit Color.swift
/host/spi-builder-workspace/.build/checkouts/Swift-Cross-Kit-Types/Sources/CrossKitTypes/Cross-Kit Color.swift:26:8: error: Unsupported platform; neither UIKit nor AppKit
#error("Unsupported platform; neither UIKit nor AppKit")
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
error: fatalError
error: emit-module command failed with exit code 1 (use -v to see invocation)
/host/spi-builder-workspace/.build/checkouts/Swift-MultiplicativeArithmetic/Sources/MultiplicativeArithmetic/Default Conformances.swift:10:8: error: no such module 'CoreGraphics'
import CoreGraphics
       ^
[13/16] Emitting module OptionalTools
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/8] Compiling CrossKitTypes Cross-Kit Font.swift
/host/spi-builder-workspace/.build/checkouts/Swift-Cross-Kit-Types/Sources/CrossKitTypes/Cross-Kit Font.swift:26:8: error: Unsupported platform; neither UIKit nor AppKit
#error("Unsupported platform; neither UIKit nor AppKit")
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[3/8] Compiling CrossKitTypes Cross-Kit Image.swift
/host/spi-builder-workspace/.build/checkouts/Swift-Cross-Kit-Types/Sources/CrossKitTypes/Cross-Kit Image.swift:26:8: error: Unsupported platform; neither UIKit nor AppKit
#error("Unsupported platform; neither UIKit nor AppKit")
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[4/8] Compiling CrossKitTypes Cross-Kit Color.swift
/host/spi-builder-workspace/.build/checkouts/Swift-Cross-Kit-Types/Sources/CrossKitTypes/Cross-Kit Color.swift:26:8: error: Unsupported platform; neither UIKit nor AppKit
#error("Unsupported platform; neither UIKit nor AppKit")
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/8] Emitting module CrossKitTypes
/host/spi-builder-workspace/.build/checkouts/Swift-Cross-Kit-Types/Sources/CrossKitTypes/Cross-Kit Color.swift:26:8: error: Unsupported platform; neither UIKit nor AppKit
#error("Unsupported platform; neither UIKit nor AppKit")
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Swift-Cross-Kit-Types/Sources/CrossKitTypes/Cross-Kit Font.swift:26:8: error: Unsupported platform; neither UIKit nor AppKit
#error("Unsupported platform; neither UIKit nor AppKit")
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Swift-Cross-Kit-Types/Sources/CrossKitTypes/Cross-Kit Image.swift:26:8: error: Unsupported platform; neither UIKit nor AppKit
#error("Unsupported platform; neither UIKit nor AppKit")
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
error: fatalError
/host/spi-builder-workspace/.build/checkouts/Swift-MultiplicativeArithmetic/Sources/MultiplicativeArithmetic/Default Conformances.swift:10:8: error: no such module 'CoreGraphics'
import CoreGraphics
       ^
BUILD FAILURE 5.10 linux

Build Machine: Linux 1