Build Information
Failed to build Marionette with Swift 6.0 (beta) for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/LinusU/Marionette.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/LinusU/Marionette
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 3c0699e 🎉 Add CocoaPods support
Cloned https://github.com/LinusU/Marionette.git
Revision (git rev-parse @):
3c0699e869fdbe13a5d03042884c17d418293a12
SUCCESS checkout https://github.com/LinusU/Marionette.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $workDir
https://github.com/LinusU/Marionette.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Fetching https://github.com/mxcl/PromiseKit
Fetching https://github.com/LinusU/JSBridge
Fetching https://github.com/artman/Signals
[1/252] Fetching jsbridge
[253/1299] Fetching jsbridge, signals
Fetched https://github.com/LinusU/JSBridge from cache (0.37s)
Fetched https://github.com/artman/Signals from cache (0.38s)
[1/16963] Fetching promisekit
Fetched https://github.com/mxcl/PromiseKit from cache (1.67s)
Computing version for https://github.com/mxcl/PromiseKit
Computed https://github.com/mxcl/PromiseKit at 6.8.3 (1.57s)
Computing version for https://github.com/LinusU/JSBridge
Computed https://github.com/LinusU/JSBridge at 1.0.0-alpha.15 (0.65s)
Computing version for https://github.com/artman/Signals
Computed https://github.com/artman/Signals at 6.0.0 (1.23s)
Creating working copy for https://github.com/LinusU/JSBridge
Working copy of https://github.com/LinusU/JSBridge resolved at 1.0.0-alpha.15
Creating working copy for https://github.com/artman/Signals
Working copy of https://github.com/artman/Signals resolved at 6.0.0
Creating working copy for https://github.com/mxcl/PromiseKit
Working copy of https://github.com/mxcl/PromiseKit resolved at 6.8.3
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/25] Compiling Signals AssociatedObject.swift
/host/spi-builder-workspace/.build/checkouts/Signals/Signals/ios/AssociatedObject.swift:5:8: error: no such module 'ObjectiveC'
3 | //
4 |
5 | import ObjectiveC
| `- error: no such module 'ObjectiveC'
6 |
7 | func setAssociatedObject<T>(_ object: AnyObject, value: T, associativeKey: UnsafeRawPointer, policy: objc_AssociationPolicy) {
[7/25] Compiling Signals UIControl+Signals.swift
/host/spi-builder-workspace/.build/checkouts/Signals/Signals/ios/AssociatedObject.swift:5:8: error: no such module 'ObjectiveC'
3 | //
4 |
5 | import ObjectiveC
| `- error: no such module 'ObjectiveC'
6 |
7 | func setAssociatedObject<T>(_ object: AnyObject, value: T, associativeKey: UnsafeRawPointer, policy: objc_AssociationPolicy) {
[8/25] Compiling Signals UIBarButtonItem+Signals.swift
/host/spi-builder-workspace/.build/checkouts/Signals/Signals/ios/AssociatedObject.swift:5:8: error: no such module 'ObjectiveC'
3 | //
4 |
5 | import ObjectiveC
| `- error: no such module 'ObjectiveC'
6 |
7 | func setAssociatedObject<T>(_ object: AnyObject, value: T, associativeKey: UnsafeRawPointer, policy: objc_AssociationPolicy) {
[9/25] Emitting module PromiseKit
[10/26] Compiling PromiseKit when.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/26] Emitting module Signals
/host/spi-builder-workspace/.build/checkouts/Signals/Signals/ios/AssociatedObject.swift:5:8: error: no such module 'ObjectiveC'
3 | //
4 |
5 | import ObjectiveC
| `- error: no such module 'ObjectiveC'
6 |
7 | func setAssociatedObject<T>(_ object: AnyObject, value: T, associativeKey: UnsafeRawPointer, policy: objc_AssociationPolicy) {
[12/26] Compiling Signals Signal.swift
/host/spi-builder-workspace/.build/checkouts/Signals/Signals/ios/AssociatedObject.swift:5:8: error: no such module 'ObjectiveC'
3 | //
4 |
5 | import ObjectiveC
| `- error: no such module 'ObjectiveC'
6 |
7 | func setAssociatedObject<T>(_ object: AnyObject, value: T, associativeKey: UnsafeRawPointer, policy: objc_AssociationPolicy) {
[13/26] Compiling PromiseKit Box.swift
[14/26] Compiling PromiseKit Catchable.swift
[15/26] Compiling PromiseKit hang.swift
/host/spi-builder-workspace/.build/checkouts/PromiseKit/Sources/hang.swift:18:26: error: cannot find 'RunLoopMode' in scope
16 | #if os(Linux) || os(Android)
17 | // isMainThread is not yet implemented on Linux.
18 | let runLoopModeRaw = RunLoopMode.defaultRunLoopMode.rawValue._bridgeToObjectiveC()
| `- error: cannot find 'RunLoopMode' in scope
19 | let runLoopMode: CFString = unsafeBitCast(runLoopModeRaw, to: CFString.self)
20 | #else
[16/26] Compiling PromiseKit race.swift
/host/spi-builder-workspace/.build/checkouts/PromiseKit/Sources/hang.swift:18:26: error: cannot find 'RunLoopMode' in scope
16 | #if os(Linux) || os(Android)
17 | // isMainThread is not yet implemented on Linux.
18 | let runLoopModeRaw = RunLoopMode.defaultRunLoopMode.rawValue._bridgeToObjectiveC()
| `- error: cannot find 'RunLoopMode' in scope
19 | let runLoopMode: CFString = unsafeBitCast(runLoopModeRaw, to: CFString.self)
20 | #else
[17/26] Compiling PromiseKit Resolver.swift
[18/26] Compiling PromiseKit Thenable.swift
[19/26] Compiling PromiseKit Error.swift
[20/26] Compiling PromiseKit Guarantee.swift
BUILD FAILURE 6.0 linux