The Swift Package Index logo.Swift Package Index

Build Information

Failed to build NDArray 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/t-ae/ndarray.git
Reference: 1.0.1
Cloned https://github.com/t-ae/ndarray.git into spi-builder-workspace
SUCCESS checkout https://github.com/t-ae/ndarray.git at 1.0.1
========================================
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/t-ae/xorswift.git
[1/784] Fetching xorswift
Fetched https://github.com/t-ae/xorswift.git (0.28s)
Computing version for https://github.com/t-ae/xorswift.git
Computed https://github.com/t-ae/xorswift.git at 2.0.1 (0.26s)
Creating working copy for https://github.com/t-ae/xorswift.git
Working copy of https://github.com/t-ae/xorswift.git resolved at 2.0.1
Building for debugging...
[1/5] Compiling Xorswift XorshiftGenerator.swift
[2/5] Compiling Xorswift Uniform.swift
[3/5] Compiling Xorswift Normal.swift
[4/5] Emitting module Xorswift
[5/5] Compiling Xorswift FloatDouble.swift
/host/spi-builder-workspace/.build/checkouts/xorswift/Sources/FloatDouble.swift:74:9: error: cannot find '__sincospif' in scope
        __sincospif(arg, &sin, &cos)
        ^~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/xorswift/Sources/FloatDouble.swift:248:9: error: cannot find '__sincospi' in scope
        __sincospi(arg, &sin, &cos)
        ^~~~~~~~~~
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 1