The Swift Package Index logo.Swift Package Index

Build Information

Failed to build AppUpdater with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4609320-0":/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/mxcl/AppUpdater.git
Reference: 1.1.1
Cloned https://github.com/mxcl/AppUpdater.git into spi-builder-workspace
SUCCESS checkout https://github.com/mxcl/AppUpdater.git at 1.1.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4609320-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/mxcl/Version
Fetching https://github.com/mxcl/Path.swift
Fetching https://github.com/PromiseKit/Foundation
[1/1027] Fetching path.swift
[207/1268] Fetching path.swift, version
[1269/1867] Fetching path.swift, version, foundation
Fetched https://github.com/PromiseKit/Foundation (0.26s)
Fetched https://github.com/mxcl/Version (0.26s)
Fetched https://github.com/mxcl/Path.swift (0.27s)
Computing version for https://github.com/PromiseKit/Foundation
Computed https://github.com/PromiseKit/Foundation at 3.4.0 (1.18s)
Fetching https://github.com/mxcl/PromiseKit.git
[1/16571] Fetching promisekit
Fetched https://github.com/mxcl/PromiseKit.git (1.12s)
Computing version for https://github.com/mxcl/Version
Computed https://github.com/mxcl/Version at 1.2.0 (0.28s)
Computing version for https://github.com/mxcl/Path.swift
Computed https://github.com/mxcl/Path.swift at 1.4.0 (0.29s)
Computing version for https://github.com/mxcl/PromiseKit.git
Computed https://github.com/mxcl/PromiseKit.git at 6.22.1 (0.32s)
Creating working copy for https://github.com/mxcl/PromiseKit.git
Working copy of https://github.com/mxcl/PromiseKit.git resolved at 6.22.1
Creating working copy for https://github.com/mxcl/Path.swift
Working copy of https://github.com/mxcl/Path.swift resolved at 1.4.0
Creating working copy for https://github.com/mxcl/Version
Working copy of https://github.com/mxcl/Version resolved at 1.2.0
Creating working copy for https://github.com/PromiseKit/Foundation
Working copy of https://github.com/PromiseKit/Foundation resolved at 3.4.0
Building for debugging...
[1/32] Compiling Path Path+StringConvertibles.swift
[2/33] Compiling Version Version+Range.swift
[3/33] Compiling Path Pathish.swift
[4/33] Compiling Version Version.swift
[5/33] Compiling PromiseKit Thenable.swift
[6/33] Compiling PromiseKit after.swift
[7/33] Compiling PromiseKit firstly.swift
[8/33] Compiling PromiseKit hang.swift
[9/35] Compiling PromiseKit Combine.swift
[10/35] Compiling PromiseKit Configuration.swift
[11/35] Compiling PromiseKit Promise.swift
[12/35] Compiling PromiseKit Resolver.swift
[13/35] Emitting module Path
[16/35] Compiling Version Version+Comparable.swift
[17/35] Compiling Version Version+Foundation.swift
[18/35] Emitting module Version
[19/35] Compiling Version Version+Codable.swift
[20/36] Compiling Path Path+Codable.swift
[21/36] Compiling Path Path+CommonDirectories.swift
[22/36] Compiling Path Path+FileManager.swift
[24/37] Compiling Path Path+ls.swift
[27/37] Compiling PromiseKit Async.swift
[28/37] Compiling PromiseKit Box.swift
[29/37] Compiling PromiseKit Catchable.swift
[30/37] Emitting module PromiseKit
[31/37] Compiling PromiseKit Guarantee.swift
[32/37] Compiling PromiseKit LogEvent.swift
[34/37] Compiling Path Path->Bool.swift
[35/37] Compiling Path Path.swift
[38/39] Compiling PromiseKit race.swift
[39/39] Compiling PromiseKit when.swift
[42/45] Compiling PMKFoundation Process+Promise.swift
[43/45] Compiling PMKFoundation NSNotificationCenter+Promise.swift
[44/45] Emitting module PMKFoundation
[45/45] Compiling PMKFoundation NSURLSession+Promise.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[48/49] Emitting module AppUpdater
/host/spi-builder-workspace/AppUpdater.swift:1:14: error: no such module 'AppKit'
import class AppKit.NSBackgroundActivityScheduler
             ^
[49/49] Compiling AppUpdater AppUpdater.swift
/host/spi-builder-workspace/AppUpdater.swift:1:14: error: no such module 'AppKit'
import class AppKit.NSBackgroundActivityScheduler
             ^
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 2