The Swift Package Index logo.Swift Package Index

Build Information

Failed to build JSONPatch 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/peterringset/JSONPatch.git
Reference: master
Cloned https://github.com/peterringset/JSONPatch.git into spi-builder-workspace
SUCCESS checkout https://github.com/peterringset/JSONPatch.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
Building for debugging...
[1/4] Compiling JSONPatch KeyPath+StringConversion.swift
/host/spi-builder-workspace/JSONPatch/KeyPath+StringConversion.swift:14:45: error: cannot convert value of type 'KeyPath<Root, Value>' to expected argument type 'String'
        let path = NSExpression(forKeyPath: self)
                                            ^
[2/4] Compiling JSONPatch AnyEncodable.swift
[3/4] Emitting module JSONPatch
[4/4] Compiling JSONPatch JSONPatch.swift
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 2