The Swift Package Index logo.Swift Package Index

Build Information

Failed to build AllCache with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/JuanjoArreola/AllCache.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/JuanjoArreola/AllCache
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 2fe87f2 Merge branch 'new'
Cloned https://github.com/JuanjoArreola/AllCache.git
Revision (git rev-parse @):
2fe87f2690c13cb7a012f5346cf3824477aec512
SUCCESS checkout https://github.com/JuanjoArreola/AllCache.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/JuanjoArreola/AllCache.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/JuanjoArreola/ShallowPromises.git
Fetching https://github.com/JuanjoArreola/Logg.git
[1/159] Fetching logg
[160/222] Fetching logg, shallowpromises
Fetched https://github.com/JuanjoArreola/Logg.git from cache (0.25s)
Fetched https://github.com/JuanjoArreola/ShallowPromises.git from cache (0.26s)
Computing version for https://github.com/JuanjoArreola/Logg.git
Computed https://github.com/JuanjoArreola/Logg.git at 2.4.0 (0.46s)
Computing version for https://github.com/JuanjoArreola/ShallowPromises.git
Computed https://github.com/JuanjoArreola/ShallowPromises.git at 0.7.1 (0.44s)
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...
[0/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/19] Compiling Logg LogLevel.swift
[7/20] Compiling Logg LogFormatter.swift
[8/20] Compiling Logg LogContext.swift
[9/20] Compiling Logg Logger.swift
[10/20] Compiling Logg FileLogger.swift
[11/20] Compiling Logg CompositeLogger.swift
[12/20] Compiling Logg ConsoleFormatter.swift
[13/20] Compiling Logg ConsoleLogger.swift
[14/20] Compiling Logg DefaultFormatter.swift
[15/20] Emitting module Logg
[16/21] Compiling ShallowPromises Promise.swift
[17/21] Compiling ShallowPromises Futures.swift
[18/21] Compiling ShallowPromises Cancellable.swift
[19/21] Emitting module ShallowPromises
[20/21] Compiling ShallowPromises PromiseFailure.swift
[23/31] Compiling AllCache JSONSerializer.swift
[24/32] Compiling AllCache Fetcher.swift
[25/32] Compiling AllCache MemoryCache.swift
[26/32] Compiling AllCache Processor.swift
[27/32] Compiling AllCache ElementDescriptor.swift
[28/32] Compiling AllCache Serializer.swift
[29/32] Compiling AllCache AllCacheFormatter.swift
[30/32] Compiling AllCache Cache.swift
[31/32] Emitting module AllCache
[32/32] 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)
                                              ~^~~~~~~~~~~
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/3] Emitting module AllCache
[3/3] 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)
                                              ~^~~~~~~~~~~
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 1