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-4606859-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: develop
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 develop
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.8
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-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/Quick/Nimble
Fetching https://github.com/mattgallagher/CwlCatchException.git
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/432] Fetching cwlcatchexception
[433/1636] Fetching cwlcatchexception, cwlpreconditiontesting
Fetching https://github.com/Quick/Quick
Fetched https://github.com/mattgallagher/CwlCatchException.git (0.23s)
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git (0.27s)
[1/13962] Fetching quick
[2515/30150] Fetching quick, nimble
Fetched https://github.com/Quick/Quick (0.73s)
[16188/16188] Fetching nimble
Fetched https://github.com/Quick/Nimble (1.40s)
Computing version for https://github.com/Quick/Nimble
Computed https://github.com/Quick/Nimble at 10.0.0 (0.30s)
Computing version for https://github.com/Quick/Quick
Computed https://github.com/Quick/Quick at 5.0.1 (0.33s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.1.0 (0.35s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.1.1 (0.31s)
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.1.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/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
Building for debugging...
[1/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
                                                      ~^~~~~~~
[2/5] Compiling SHDateFormatter TimeZone+Extensions.swift
[3/5] Compiling SHDateFormatter SHDateFormatter+Extension.swift
[4/5] Emitting module SHDateFormatter
[5/5] Compiling SHDateFormatter Date+Utils.swift
BUILD FAILURE 5.8 linux

Build Machine: Linux 1