The Swift Package Index logo.Swift Package Index

Build Information

Failed to build AllCache 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.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/JuanjoArreola/AllCache.git
Reference: master
Cloned https://github.com/JuanjoArreola/AllCache.git into spi-builder-workspace
SUCCESS checkout https://github.com/JuanjoArreola/AllCache.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-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/JuanjoArreola/ShallowPromises.git
Fetching https://github.com/JuanjoArreola/Logg.git
[1/159] Fetching logg
Fetched https://github.com/JuanjoArreola/ShallowPromises.git (0.20s)
Fetched https://github.com/JuanjoArreola/Logg.git (0.23s)
Computing version for https://github.com/JuanjoArreola/Logg.git
Computed https://github.com/JuanjoArreola/Logg.git at 2.4.0 (0.30s)
Computing version for https://github.com/JuanjoArreola/ShallowPromises.git
Computed https://github.com/JuanjoArreola/ShallowPromises.git at 0.7.1 (0.31s)
Creating working copy for https://github.com/JuanjoArreola/Logg.git
Working copy of https://github.com/JuanjoArreola/Logg.git resolved at 2.4.0
Creating working copy for https://github.com/JuanjoArreola/ShallowPromises.git
Working copy of https://github.com/JuanjoArreola/ShallowPromises.git resolved at 0.7.1
Building for debugging...
[1/14] Compiling Logg ConsoleLogger.swift
[2/15] Compiling ShallowPromises PromiseFailure.swift
[3/15] Compiling Logg Logger.swift
[4/15] Compiling Logg LogFormatter.swift
[5/15] Compiling Logg FileLogger.swift
[6/15] Compiling Logg LogContext.swift
[7/15] Compiling Logg LogLevel.swift
[8/15] Compiling Logg DefaultFormatter.swift
[9/15] Compiling ShallowPromises Futures.swift
[10/15] Compiling ShallowPromises Cancellable.swift
[11/15] Emitting module ShallowPromises
[12/15] Compiling ShallowPromises Promise.swift
[14/17] Emitting module Logg
[15/17] Compiling Logg CompositeLogger.swift
[16/17] Compiling Logg ConsoleFormatter.swift
[20/28] Compiling AllCache Processor.swift
[21/29] Compiling AllCache Fetcher.swift
[22/29] Compiling AllCache ElementDescriptor.swift
[23/29] Compiling AllCache JSONSerializer.swift
[24/29] Compiling AllCache MemoryCache.swift
[25/29] Compiling AllCache DiskCache.swift
/host/spi-builder-workspace/Sources/AllCache/DiskCache.swift:87:48: error: type 'Data.WritingOptions' (aka 'NSData.WritingOptions') has no member 'atomicWrite'
            try? data.write(to: url, options: .atomicWrite)
                                              ~^~~~~~~~~~~
[26/29] Compiling AllCache Serializer.swift
[27/29] Emitting module AllCache
[28/29] Compiling AllCache AllCacheFormatter.swift
[29/29] Compiling AllCache Cache.swift
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 2