The Swift Package Index logo.Swift Package Index

Build Information

Failed to build AtariKit with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4609320-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/octadero/atarikit.git
Reference: master
Cloned https://github.com/octadero/atarikit.git into spi-builder-workspace
SUCCESS checkout https://github.com/octadero/atarikit.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-4609320-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/Octadero/CALE.git
Fetched https://github.com/Octadero/CALE.git (0.20s)
Computing version for https://github.com/Octadero/CALE.git
Computed https://github.com/Octadero/CALE.git at 0.0.2 (0.29s)
Creating working copy for https://github.com/Octadero/CALE.git
Working copy of https://github.com/Octadero/CALE.git resolved at 0.0.2
warning: 'cale': ignoring declared target(s) 'CALE' in the system package
warning: 'spi-builder-workspace': dependency 'cale' is not used by any target
warning: couldn't find pc file for ale
Building for debugging...
[1/4] Emitting module AtariKit
[2/4] Compiling AtariKit AtariKit.swift
/host/spi-builder-workspace/Sources/AtariKit/AtariKit.swift:80:23: warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead
        bufferPointer.deallocate(capacity: 0)
                      ^
/host/spi-builder-workspace/Sources/AtariKit/AtariKit.swift:82:23: warning: 'initialize(to:count:)' is deprecated: renamed to 'initialize(repeating:count:)'
        bufferPointer.initialize(to: 0, count: count)
                      ^
/host/spi-builder-workspace/Sources/AtariKit/AtariKit.swift:82:23: note: use 'initialize(repeating:count:)' instead
        bufferPointer.initialize(to: 0, count: count)
                      ^          ~~
                                 repeating
/host/spi-builder-workspace/Sources/AtariKit/AtariKit.swift:100:17: warning: 'deinitialize()' is deprecated: the default argument to deinitialize(count:) has been removed, please specify the count explicitly
        actions.deinitialize()
                ^
/host/spi-builder-workspace/Sources/AtariKit/AtariKit.swift:102:31: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
        return arrayOfActions.flatMap { EnvironmentAction(rawValue: $0) }
                              ^
/host/spi-builder-workspace/Sources/AtariKit/AtariKit.swift:102:31: note: use 'compactMap(_:)' instead
        return arrayOfActions.flatMap { EnvironmentAction(rawValue: $0) }
                              ^~~~~~~
                              compactMap
/host/spi-builder-workspace/Sources/AtariKit/AtariKit.swift:148:20: error: cannot convert value of type 'ObjCBool' to expected condition type 'Bool'
                if isDirectory { return }
                   ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/AtariKit/AtariKit.swift:167:23: warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead
        bufferPointer.deallocate(capacity: pixelsCount)
                      ^
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 2