The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SHDateFormatter with Swift 5.8 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.8-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.22.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/blackjacx/SHDateFormatter.git
Reference: 1.7.1
Cloned https://github.com/blackjacx/SHDateFormatter.git into spi-builder-workspace
SPI manifest file found: spi-builder-workspace/.spi.yml
SUCCESS checkout https://github.com/blackjacx/SHDateFormatter.git at 1.7.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.8
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.8-latest swift build 2>&1
Fetching https://github.com/mattgallagher/CwlCatchException.git
Fetching https://github.com/Quick/Nimble
Fetching https://github.com/Quick/Quick
[1/432] Fetching cwlcatchexception
[433/14394] Fetching cwlcatchexception, quick
[14395/30582] Fetching cwlcatchexception, quick, nimble
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
Fetched https://github.com/mattgallagher/CwlCatchException.git (1.24s)
Fetched https://github.com/Quick/Quick (1.25s)
Fetched https://github.com/Quick/Nimble (1.26s)
Computing version for https://github.com/Quick/Nimble
[1/1204] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git (0.26s)
Computed https://github.com/Quick/Nimble at 10.0.0 (0.36s)
Computing version for https://github.com/Quick/Quick
Computed https://github.com/Quick/Quick at 5.0.1 (0.36s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.1.0 (0.33s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.1.1 (0.32s)
Creating working copy for https://github.com/Quick/Nimble
Working copy of https://github.com/Quick/Nimble resolved at 10.0.0
Creating working copy for https://github.com/Quick/Quick
Working copy of https://github.com/Quick/Quick resolved at 5.0.1
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.1.0
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.1.1
Building for debugging...
[1/5] Compiling SHDateFormatter TimeZone+Extensions.swift
[2/5] Compiling SHDateFormatter Date+Utils.swift
[3/5] Emitting module SHDateFormatter
[4/5] Compiling SHDateFormatter SHDateFormatter+Extension.swift
[5/5] Compiling SHDateFormatter SHDateFormatter.swift
/host/spi-builder-workspace/Source/SHDateFormatter/Classes/SHDateFormatter.swift:95:35: error: value of type 'DateFormatter' has no member 'formatterBehavior'
        SHDateFormatter.formatter.formatterBehavior = .default
        ~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/SHDateFormatter/Classes/SHDateFormatter.swift:95:56: error: cannot infer contextual base in reference to member 'default'
        SHDateFormatter.formatter.formatterBehavior = .default
                                                      ~^~~~~~~
BUILD FAILURE 5.8 linux

Build Machine: Linux 2