Build Information
Failed to build AppUpdater with Swift 5.8 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mxcl/AppUpdater.git
Reference: master
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/mxcl/AppUpdater
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 078432c participate in tea protocol
Cloned https://github.com/mxcl/AppUpdater.git
Revision (git rev-parse @):
078432c8e9e53edff6097ae8e916eee30769c941
SUCCESS checkout https://github.com/mxcl/AppUpdater.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 5.8
Building package at path: $workDir
https://github.com/mxcl/AppUpdater.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1
Fetching https://github.com/mxcl/Version
Fetching https://github.com/PromiseKit/Foundation
Fetching https://github.com/mxcl/Path.swift
[1/250] Fetching version
[146/859] Fetching version, foundation
[860/1913] Fetching version, foundation, path.swift
Fetched https://github.com/PromiseKit/Foundation (0.25s)
Fetched https://github.com/mxcl/Version (0.25s)
Fetched https://github.com/mxcl/Path.swift (0.25s)
Computing version for https://github.com/PromiseKit/Foundation
Computed https://github.com/PromiseKit/Foundation at 3.4.0 (1.15s)
Fetching https://github.com/mxcl/PromiseKit.git
[1/16910] Fetching promisekit
Fetched https://github.com/mxcl/PromiseKit.git (1.10s)
Computing version for https://github.com/mxcl/Version
Computed https://github.com/mxcl/Version at 1.2.0 (0.33s)
Computing version for https://github.com/mxcl/Path.swift
Computed https://github.com/mxcl/Path.swift at 1.4.1 (0.33s)
Computing version for https://github.com/mxcl/PromiseKit.git
Computed https://github.com/mxcl/PromiseKit.git at 6.22.1 (0.36s)
Creating working copy for https://github.com/PromiseKit/Foundation
Working copy of https://github.com/PromiseKit/Foundation resolved at 3.4.0
Creating working copy for https://github.com/mxcl/Path.swift
Working copy of https://github.com/mxcl/Path.swift resolved at 1.4.1
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/Version
Working copy of https://github.com/mxcl/Version resolved at 1.2.0
Building for debugging...
[1/32] Compiling Version Version+Comparable.swift
[2/32] Emitting module Version
[3/32] Compiling Version Version+Codable.swift
[4/32] Emitting module PromiseKit
[5/32] Compiling PromiseKit Async.swift
[6/32] Compiling PromiseKit Box.swift
[7/32] Compiling PromiseKit Catchable.swift
[8/34] Compiling Version Version+Range.swift
[9/34] Compiling Version Version.swift
[10/34] Compiling Version Version+Foundation.swift
[13/36] Emitting module Path
[17/36] Compiling PromiseKit Combine.swift
[18/37] Compiling Path PathToBool.swift
[19/37] Compiling PromiseKit firstly.swift
[20/37] Compiling PromiseKit hang.swift
[21/37] Compiling PromiseKit race.swift
[22/37] Compiling PromiseKit when.swift
[23/37] Compiling PromiseKit Thenable.swift
[24/37] Compiling PromiseKit after.swift
[25/37] Compiling Path Pathish.swift
[26/37] Compiling Path Path+StringConvertibles.swift
[27/37] Compiling Path Path+ls.swift
[28/37] Compiling Path Path+FileManager.swift
[29/37] Compiling Path Path.swift
[30/38] Compiling PromiseKit Guarantee.swift
[31/38] Compiling PromiseKit LogEvent.swift
[33/38] Compiling PromiseKit Configuration.swift
[34/38] Compiling PromiseKit CustomStringConvertible.swift
[35/38] Compiling PromiseKit Error.swift
[36/38] Compiling PromiseKit Promise.swift
[37/38] Compiling PromiseKit Resolver.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
^
[0/1] Planning build
Building for debugging...
warning: Will not do cross-module incremental builds, priors saved at TimePoint(seconds: 1708604289, nanoseconds: 0)), but the previous build started at TimePoint(seconds: 1708604289, nanoseconds: 100895000), at '/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/AppUpdater.build/master.priors'
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/2] Emitting module AppUpdater
/host/spi-builder-workspace/AppUpdater.swift:1:14: error: no such module 'AppKit'
import class AppKit.NSBackgroundActivityScheduler
^
[2/2] Compiling AppUpdater AppUpdater.swift
/host/spi-builder-workspace/AppUpdater.swift:1:14: error: no such module 'AppKit'
import class AppKit.NSBackgroundActivityScheduler
^
BUILD FAILURE 5.8 linux