The Swift Package Index logo.Swift Package Index

Build Information

Failed to build CrashReporter with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-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/CleanCocoa/CrashReporter.git
Reference: 0.4.5
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/CleanCocoa/CrashReporter
 * tag               0.4.5      -> FETCH_HEAD
HEAD is now at 03d2ee4 update Podspec
Submodule path 'php/vendor/PHPMailer': checked out '511413a6eaeb167fa88282d437766d34510548b8'
Submodule 'php/vendor/PHPMailer' (https://github.com/PHPMailer/PHPMailer.git) registered for path 'php/vendor/PHPMailer'
Cloning into '/host/spi-builder-workspace/php/vendor/PHPMailer'...
Cloned https://github.com/CleanCocoa/CrashReporter.git
Revision (git rev-parse @):
03d2ee44e33661a2feebf52e0db123a1cdb16a7b
SUCCESS checkout https://github.com/CleanCocoa/CrashReporter.git at 0.4.5
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/CleanCocoa/CrashReporter.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/14] Compiling CrashReporter OneShotDownload.swift
/host/spi-builder-workspace/Sources/CrashReporter/CrashReporter.swift:8:8: error: no such module 'AppKit'
import AppKit
       ^
[4/14] Compiling CrashReporter String+md5.swift
/host/spi-builder-workspace/Sources/CrashReporter/CrashReporter.swift:8:8: error: no such module 'AppKit'
import AppKit
       ^
[5/14] Compiling CrashReporter Bundle+InfoKeys.swift
/host/spi-builder-workspace/Sources/CrashReporter/CrashReporter.swift:8:8: error: no such module 'AppKit'
import AppKit
       ^
[6/14] Compiling CrashReporter HTTPURLResponse+valueForHTTPHeaderField.swift
/host/spi-builder-workspace/Sources/CrashReporter/CrashReporter.swift:8:8: error: no such module 'AppKit'
import AppKit
       ^
[7/15] Compiling CrashReporter NoClippingView.swift
/host/spi-builder-workspace/Sources/CrashReporter/CrashReporter.swift:8:8: error: no such module 'AppKit'
import AppKit
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/15] Emitting module CrashReporter
/host/spi-builder-workspace/Sources/CrashReporter/CrashReporter.swift:8:8: error: no such module 'AppKit'
import AppKit
       ^
[9/15] Compiling CrashReporter CrashReporter.swift
/host/spi-builder-workspace/Sources/CrashReporter/CrashReporter.swift:8:8: error: no such module 'AppKit'
import AppKit
       ^
[10/15] Compiling CrashReporter EmailAddressSetting.swift
/host/spi-builder-workspace/Sources/CrashReporter/CrashReporter.swift:8:8: error: no such module 'AppKit'
import AppKit
       ^
[11/15] Compiling CrashReporter CrashLog.swift
/host/spi-builder-workspace/Sources/CrashReporter/CrashReporter.swift:8:8: error: no such module 'AppKit'
import AppKit
       ^
[12/15] Compiling CrashReporter CrashReporter+DefaultsKeys.swift
/host/spi-builder-workspace/Sources/CrashReporter/CrashReporter.swift:8:8: error: no such module 'AppKit'
import AppKit
       ^
[13/15] Compiling CrashReporter URLResponse+statusIsOK.swift
/host/spi-builder-workspace/Sources/CrashReporter/CrashReporter.swift:8:8: error: no such module 'AppKit'
import AppKit
       ^
[14/15] Compiling CrashReporter CrashReportWindowController.swift
/host/spi-builder-workspace/Sources/CrashReporter/CrashReporter.swift:8:8: error: no such module 'AppKit'
import AppKit
       ^
[15/15] Compiling CrashReporter SendReportsAutomaticallySetting.swift
/host/spi-builder-workspace/Sources/CrashReporter/CrashReporter.swift:8:8: error: no such module 'AppKit'
import AppKit
       ^
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/13] Compiling CrashReporter URLResponse+statusIsOK.swift
/host/spi-builder-workspace/Sources/CrashReporter/CrashReporter.swift:8:8: error: no such module 'AppKit'
import AppKit
       ^
[3/14] Compiling CrashReporter SendReportsAutomaticallySetting.swift
/host/spi-builder-workspace/Sources/CrashReporter/CrashReporter.swift:8:8: error: no such module 'AppKit'
import AppKit
       ^
[4/14] Compiling CrashReporter CrashReportWindowController.swift
/host/spi-builder-workspace/Sources/CrashReporter/CrashReporter.swift:8:8: error: no such module 'AppKit'
import AppKit
       ^
[5/14] Compiling CrashReporter Bundle+InfoKeys.swift
/host/spi-builder-workspace/Sources/CrashReporter/CrashReporter.swift:8:8: error: no such module 'AppKit'
import AppKit
       ^
[6/14] Compiling CrashReporter HTTPURLResponse+valueForHTTPHeaderField.swift
/host/spi-builder-workspace/Sources/CrashReporter/CrashReporter.swift:8:8: error: no such module 'AppKit'
import AppKit
       ^
[7/14] Compiling CrashReporter OneShotDownload.swift
/host/spi-builder-workspace/Sources/CrashReporter/CrashReporter.swift:8:8: error: no such module 'AppKit'
import AppKit
       ^
[8/14] Compiling CrashReporter String+md5.swift
/host/spi-builder-workspace/Sources/CrashReporter/CrashReporter.swift:8:8: error: no such module 'AppKit'
import AppKit
       ^
[9/14] Compiling CrashReporter NoClippingView.swift
/host/spi-builder-workspace/Sources/CrashReporter/CrashReporter.swift:8:8: error: no such module 'AppKit'
import AppKit
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/14] Emitting module CrashReporter
/host/spi-builder-workspace/Sources/CrashReporter/CrashReporter.swift:8:8: error: no such module 'AppKit'
import AppKit
       ^
[11/14] Compiling CrashReporter CrashReporter.swift
/host/spi-builder-workspace/Sources/CrashReporter/CrashReporter.swift:8:8: error: no such module 'AppKit'
import AppKit
       ^
[12/14] Compiling CrashReporter EmailAddressSetting.swift
/host/spi-builder-workspace/Sources/CrashReporter/CrashReporter.swift:8:8: error: no such module 'AppKit'
import AppKit
       ^
[13/14] Compiling CrashReporter CrashLog.swift
/host/spi-builder-workspace/Sources/CrashReporter/CrashReporter.swift:8:8: error: no such module 'AppKit'
import AppKit
       ^
[14/14] Compiling CrashReporter CrashReporter+DefaultsKeys.swift
/host/spi-builder-workspace/Sources/CrashReporter/CrashReporter.swift:8:8: error: no such module 'AppKit'
import AppKit
       ^
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 1