The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Marionette with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4606859-1":/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/LinusU/Marionette.git
Reference: master
Cloned https://github.com/LinusU/Marionette.git into spi-builder-workspace
SUCCESS checkout https://github.com/LinusU/Marionette.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-1":/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/PromiseKit
Fetching https://github.com/artman/Signals
Fetching https://github.com/LinusU/JSBridge
[1/1047] Fetching signals
[1028/1299] Fetching signals, jsbridge
[1300/17870] Fetching signals, jsbridge, promisekit
Fetched https://github.com/LinusU/JSBridge (1.02s)
Fetched https://github.com/artman/Signals (1.02s)
Fetched https://github.com/mxcl/PromiseKit (1.04s)
Computing version for https://github.com/mxcl/PromiseKit
Computed https://github.com/mxcl/PromiseKit at 6.8.3 (0.96s)
Computing version for https://github.com/LinusU/JSBridge
Computed https://github.com/LinusU/JSBridge at 1.0.0-alpha.15 (0.28s)
Computing version for https://github.com/artman/Signals
Computed https://github.com/artman/Signals at 6.0.0 (0.92s)
Creating working copy for https://github.com/mxcl/PromiseKit
Working copy of https://github.com/mxcl/PromiseKit resolved at 6.8.3
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
Building for debugging...
[1/20] Compiling Signals UIControl+Signals.swift
/host/spi-builder-workspace/.build/checkouts/Signals/Signals/ios/AssociatedObject.swift:5:8: error: no such module 'ObjectiveC'
import ObjectiveC
       ^
[2/20] Compiling Signals UIBarButtonItem+Signals.swift
/host/spi-builder-workspace/.build/checkouts/Signals/Signals/ios/AssociatedObject.swift:5:8: error: no such module 'ObjectiveC'
import ObjectiveC
       ^
[3/20] Compiling PromiseKit Box.swift
[4/20] Compiling PromiseKit Catchable.swift
[5/21] Compiling Signals AssociatedObject.swift
/host/spi-builder-workspace/.build/checkouts/Signals/Signals/ios/AssociatedObject.swift:5:8: error: no such module 'ObjectiveC'
import ObjectiveC
       ^
[6/21] Compiling PromiseKit hang.swift
/host/spi-builder-workspace/.build/checkouts/PromiseKit/Sources/hang.swift:18:26: error: cannot find 'RunLoopMode' in scope
    let runLoopModeRaw = RunLoopMode.defaultRunLoopMode.rawValue._bridgeToObjectiveC()
                         ^~~~~~~~~~~
[7/21] Compiling PromiseKit race.swift
/host/spi-builder-workspace/.build/checkouts/PromiseKit/Sources/hang.swift:18:26: error: cannot find 'RunLoopMode' in scope
    let runLoopModeRaw = RunLoopMode.defaultRunLoopMode.rawValue._bridgeToObjectiveC()
                         ^~~~~~~~~~~
[8/21] Compiling PromiseKit Configuration.swift
[9/21] Compiling PromiseKit CustomStringConvertible.swift
[10/21] Emitting module PromiseKit
[11/21] Compiling PromiseKit Resolver.swift
[12/21] Compiling PromiseKit Thenable.swift
[13/21] Compiling PromiseKit LogEvent.swift
[14/21] Compiling PromiseKit Promise.swift
[15/21] Compiling PromiseKit Error.swift
[16/21] Compiling PromiseKit Guarantee.swift
[17/21] Compiling PromiseKit after.swift
[18/21] Compiling PromiseKit firstly.swift
[19/21] Compiling PromiseKit when.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[20/21] Emitting module Signals
/host/spi-builder-workspace/.build/checkouts/Signals/Signals/ios/AssociatedObject.swift:5:8: error: no such module 'ObjectiveC'
import ObjectiveC
       ^
[21/21] Compiling Signals Signal.swift
/host/spi-builder-workspace/.build/checkouts/Signals/Signals/ios/AssociatedObject.swift:5:8: error: no such module 'ObjectiveC'
import ObjectiveC
       ^
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 1