The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Mappable with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4609320-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.22.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/leavez/Mappable.git
Reference: 1.5.0
Cloned https://github.com/leavez/Mappable.git into spi-builder-workspace
SUCCESS checkout https://github.com/leavez/Mappable.git at 1.5.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4609320-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/8] Compiling Mappable Mappable+BasicType.swift
/host/spi-builder-workspace/Sources/Mappable/Mappable+BasicType.swift:153:41: error: argument type 'NSNumber' does not conform to expected type 'CVarArg'
            self = String(format: "%@", v)
                                        ^
                                          as! CVarArg
[2/8] Compiling Mappable Misc.swift
[3/8] Compiling Mappable JSON.swift
[4/8] Emitting module Mappable
[5/8] Compiling Mappable Mappable.swift
[6/8] Compiling Mappable Mapper.swift
[7/8] Compiling Mappable Mappable+ContainerType.swift
[8/8] Compiling Mappable Mappable+Enum.swift
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 2