The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ETBinding with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4606859-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.23.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/EtneteraMobile/ETBinding.git
Reference: master
Cloned https://github.com/EtneteraMobile/ETBinding.git into spi-builder-workspace
SUCCESS checkout https://github.com/EtneteraMobile/ETBinding.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-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Building for debugging...
[1/12] Compiling ETBinding LiveOptionalData.swift
[2/12] Compiling ETBinding LiveOptionalStateData.swift
[3/13] Compiling ETBinding DeallocTracker.swift
/host/spi-builder-workspace/Sources/ETBinding/Helpers/DeallocTracker.swift:31:56: error: cannot find 'arc4random' in scope
        if let key = UnsafeRawPointer(bitPattern: UInt(arc4random())), objc_getAssociatedObject(owner, key) == nil {
                                                       ^~~~~~~~~~
/host/spi-builder-workspace/Sources/ETBinding/Helpers/DeallocTracker.swift:31:72: error: cannot find 'objc_getAssociatedObject' in scope
        if let key = UnsafeRawPointer(bitPattern: UInt(arc4random())), objc_getAssociatedObject(owner, key) == nil {
                                                                       ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/ETBinding/Helpers/DeallocTracker.swift:33:13: error: cannot find 'objc_setAssociatedObject' in scope
            objc_setAssociatedObject(owner, key, tracker, .OBJC_ASSOCIATION_RETAIN)
            ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/ETBinding/Helpers/DeallocTracker.swift:33:60: error: cannot infer contextual base in reference to member 'OBJC_ASSOCIATION_RETAIN'
            objc_setAssociatedObject(owner, key, tracker, .OBJC_ASSOCIATION_RETAIN)
                                                          ~^~~~~~~~~~~~~~~~~~~~~~~
[4/13] Compiling ETBinding LiveData.swift
/host/spi-builder-workspace/Sources/ETBinding/Helpers/DeallocTracker.swift:31:56: error: cannot find 'arc4random' in scope
        if let key = UnsafeRawPointer(bitPattern: UInt(arc4random())), objc_getAssociatedObject(owner, key) == nil {
                                                       ^~~~~~~~~~
/host/spi-builder-workspace/Sources/ETBinding/Helpers/DeallocTracker.swift:31:72: error: cannot find 'objc_getAssociatedObject' in scope
        if let key = UnsafeRawPointer(bitPattern: UInt(arc4random())), objc_getAssociatedObject(owner, key) == nil {
                                                                       ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/ETBinding/Helpers/DeallocTracker.swift:33:13: error: cannot find 'objc_setAssociatedObject' in scope
            objc_setAssociatedObject(owner, key, tracker, .OBJC_ASSOCIATION_RETAIN)
            ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/ETBinding/Helpers/DeallocTracker.swift:33:60: error: cannot infer contextual base in reference to member 'OBJC_ASSOCIATION_RETAIN'
            objc_setAssociatedObject(owner, key, tracker, .OBJC_ASSOCIATION_RETAIN)
                                                          ~^~~~~~~~~~~~~~~~~~~~~~~
[5/13] Compiling ETBinding LiveStateData.swift
[6/13] Compiling ETBinding StateValue.swift
[7/13] Compiling ETBinding LifecycleBoundObserver.swift
[8/13] Compiling ETBinding Observer.swift
[9/13] Emitting module ETBinding
[10/13] Compiling ETBinding Constants.swift
[11/13] Compiling ETBinding FutureEvent.swift
[12/13] Compiling ETBinding LifecycleState.swift
[13/13] Compiling ETBinding Observable.swift
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 1