The Swift Package Index logo.Swift Package Index

Build Information

Failed to build AppIconSetGen with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-0":/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/abeintopalo/appiconsetgen.git
Reference: 0.0.2
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/abeintopalo/appiconsetgen
 * tag               0.0.2      -> FETCH_HEAD
HEAD is now at 858437d Bump up version -> 0.0.2
Cloned https://github.com/abeintopalo/appiconsetgen.git
Revision (git rev-parse @):
858437d3f84bdb3858eb41e267c7cea5de42e506
SUCCESS checkout https://github.com/abeintopalo/appiconsetgen.git at 0.0.2
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/abeintopalo/appiconsetgen.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/kylef/Commander.git
Fetching https://github.com/kylef/PathKit.git
[1/1588] Fetching commander
[319/2992] Fetching commander, pathkit
Fetched https://github.com/kylef/Commander.git from cache (0.28s)
Fetched https://github.com/kylef/PathKit.git from cache (0.28s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (1.29s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.27s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.45s)
Computing version for https://github.com/kylef/Commander.git
Computed https://github.com/kylef/Commander.git at 0.9.2 (1.43s)
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/Commander.git
Working copy of https://github.com/kylef/Commander.git resolved at 0.9.2
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...
[0/11] Write sources
[4/11] Write swift-version-24593BA9C3E375BF.txt
[6/22] Emitting module PathKit
[7/22] Emitting module Commander
[8/22] Compiling Commander ArgumentConvertible.swift
[9/22] Compiling Commander ArgumentDescription.swift
[10/23] Compiling Commander Group.swift
[11/23] Compiling Commander ArgumentParser.swift
[12/23] Compiling Commander CommandRunner.swift
[13/23] Compiling PathKit PathKit.swift
[14/24] Compiling Commander Error.swift
[15/24] Wrapping AST for PathKit for debugging
[17/24] Compiling Commander CommandType.swift
[18/24] Compiling Commander Command.swift
[19/24] Compiling Commander Commands.swift
[20/25] Wrapping AST for Commander for debugging
[22/30] Compiling AppIconSetGenCore Utils.swift
/host/spi-builder-workspace/Sources/AppIconSetGenCore/AppIconSet.swift:9:8: error: no such module 'Cocoa'
import Cocoa
       ^
[23/30] Compiling AppIconSetGenCore NSImage+Extensions.swift
/host/spi-builder-workspace/Sources/AppIconSetGenCore/AppIconSet.swift:9:8: error: no such module 'Cocoa'
import Cocoa
       ^
[24/30] 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)
[25/30] Emitting module AppIconSetGenCore
/host/spi-builder-workspace/Sources/AppIconSetGenCore/AppIconSet.swift:9:8: error: no such module 'Cocoa'
import Cocoa
       ^
[26/30] Compiling AppIconSetGenCore AppIconSet.swift
/host/spi-builder-workspace/Sources/AppIconSetGenCore/AppIconSet.swift:9:8: error: no such module 'Cocoa'
import Cocoa
       ^
error: fatalError
[0/1] Planning build
Building for debugging...
[0/7] Write swift-version-24593BA9C3E375BF.txt
[2/10] Compiling AppIconSetGenCore Utils.swift
/host/spi-builder-workspace/Sources/AppIconSetGenCore/AppIconSet.swift:9:8: error: no such module 'Cocoa'
import Cocoa
       ^
[3/10] Compiling AppIconSetGenCore NSImage+Extensions.swift
/host/spi-builder-workspace/Sources/AppIconSetGenCore/AppIconSet.swift:9:8: error: no such module 'Cocoa'
import Cocoa
       ^
[4/10] 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)
[5/10] Emitting module AppIconSetGenCore
/host/spi-builder-workspace/Sources/AppIconSetGenCore/AppIconSet.swift:9:8: error: no such module 'Cocoa'
import Cocoa
       ^
[6/10] Compiling AppIconSetGenCore AppIconSet.swift
/host/spi-builder-workspace/Sources/AppIconSetGenCore/AppIconSet.swift:9:8: error: no such module 'Cocoa'
import Cocoa
       ^
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 2