The Swift Package Index logo.Swift Package Index

Build Information

Failed to build AppIconSetGen with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4606859-1":/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.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/abeintopalo/appiconsetgen.git
Reference: 0.0.2
Cloned https://github.com/abeintopalo/appiconsetgen.git into spi-builder-workspace
SUCCESS checkout https://github.com/abeintopalo/appiconsetgen.git at 0.0.2
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/kylef/Commander.git
[1/1588] Fetching commander
[1415/2993] Fetching commander, pathkit
Fetched https://github.com/kylef/Commander.git (0.24s)
Fetched https://github.com/kylef/PathKit.git (0.24s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (0.90s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git (0.22s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.26s)
Computing version for https://github.com/kylef/Commander.git
Computed https://github.com/kylef/Commander.git at 0.9.2 (0.93s)
Creating working copy for https://github.com/kylef/Commander.git
Working copy of https://github.com/kylef/Commander.git resolved at 0.9.2
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 1.0.1
Building for debugging...
[1/16] Compiling Commander ArgumentConvertible.swift
[2/16] Compiling Commander ArgumentDescription.swift
[3/16] Compiling Commander ArgumentParser.swift
[4/16] Emitting module Commander
[5/17] Compiling Commander Group.swift
[6/17] Compiling Commander CommandRunner.swift
[7/17] Compiling Commander Error.swift
[8/17] Emitting module PathKit
[9/17] Compiling PathKit PathKit.swift
[11/19] Wrapping AST for PathKit for debugging
[13/19] Compiling Commander Commands.swift
[14/19] Compiling Commander Command.swift
[15/19] Compiling Commander CommandType.swift
[17/21] Wrapping AST for Commander for debugging
[19/26] Compiling AppIconSetGenCore NSImage+Extensions.swift
/host/spi-builder-workspace/Sources/AppIconSetGenCore/AppIconSet.swift:9:8: error: no such module 'Cocoa'
import Cocoa
       ^
[20/26] Compiling AppIconSetGenCore Utils.swift
/host/spi-builder-workspace/Sources/AppIconSetGenCore/AppIconSet.swift:9:8: error: no such module 'Cocoa'
import Cocoa
       ^
[21/26] Compiling AppIconSetGenCore AppIconSet.swift
/host/spi-builder-workspace/Sources/AppIconSetGenCore/AppIconSet.swift:9:8: error: no such module 'Cocoa'
import Cocoa
       ^
[22/26] Compiling AppIconSetGenCore IconInfo.swift
/host/spi-builder-workspace/Sources/AppIconSetGenCore/AppIconSet.swift:9:8: error: no such module 'Cocoa'
import Cocoa
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[23/26] Emitting module AppIconSetGenCore
/host/spi-builder-workspace/Sources/AppIconSetGenCore/AppIconSet.swift:9:8: error: no such module 'Cocoa'
import Cocoa
       ^
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 1