Build Information
Failed to build ASN1Kit with Swift 5.8 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.28.7
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/PADL/ASN1Kit.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/PADL/ASN1Kit
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at bab1973 Version 1.1.0
Cloned https://github.com/PADL/ASN1Kit.git
Revision (git rev-parse @):
bab197338819c6e5b20e8b3986ec36e86149500e
SUCCESS checkout https://github.com/PADL/ASN1Kit.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 5.8
Building package at path: $PWD/checkout
https://github.com/PADL/ASN1Kit.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1
Fetching https://github.com/gematik/ref-GemCommonsKit
[1/415] Fetching ref-gemcommonskit
Fetched https://github.com/gematik/ref-GemCommonsKit (0.23s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
Fetching http://github.com/Carthage/Commandant
Fetching http://github.com/Quick/Nimble
[1/432] Fetching cwlcatchexception
[433/2755] Fetching cwlcatchexception, commandant
[2756/20036] Fetching cwlcatchexception, commandant, nimble
Fetched https://github.com/mattgallagher/CwlCatchException.git (1.30s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
Fetched http://github.com/Carthage/Commandant (1.30s)
Fetching https://github.com/SwiftCommon/DataKit.git
Fetched http://github.com/Quick/Nimble (1.32s)
[1/1236] Fetching cwlpreconditiontesting
[1237/2459] Fetching cwlpreconditiontesting, datakit
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git (0.27s)
Fetched https://github.com/SwiftCommon/DataKit.git (0.29s)
Computing version for http://github.com/Quick/Nimble
Computed http://github.com/Quick/Nimble at 9.2.0 (0.33s)
Computing version for http://github.com/Carthage/Commandant
Computed http://github.com/Carthage/Commandant at 0.18.0 (0.35s)
Computing version for https://github.com/SwiftCommon/DataKit.git
Computed https://github.com/SwiftCommon/DataKit.git at 1.1.0 (0.37s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.0.0 (0.32s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.1.0 (0.32s)
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.0.0
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.1.0
Creating working copy for http://github.com/Carthage/Commandant
Working copy of http://github.com/Carthage/Commandant resolved at 0.18.0
Creating working copy for https://github.com/SwiftCommon/DataKit.git
Working copy of https://github.com/SwiftCommon/DataKit.git resolved at 1.1.0
Creating working copy for https://github.com/gematik/ref-GemCommonsKit
Working copy of https://github.com/gematik/ref-GemCommonsKit resolved at 1.2.0
Creating working copy for http://github.com/Quick/Nimble
Working copy of http://github.com/Quick/Nimble resolved at 9.2.0
Building for debugging...
[1/36] Emitting module DataKit
[2/36] Compiling Commandant Result+Additions.swift
[3/37] Compiling Commandant OrderedSet.swift
[4/37] Compiling Commandant Switch.swift
[5/37] Compiling DataKit Array+Data.swift
[6/37] Compiling DataKit Data+UTF8String.swift
[7/37] Emitting module Commandant
[8/37] Compiling Commandant Argument.swift
[9/37] Compiling Commandant ArgumentParser.swift
[10/37] Compiling GemCommonsKit WeakArray.swift
[11/37] Compiling GemCommonsKit Synchronized.swift
[12/37] Compiling GemCommonsKit SynchronizedVar.swift
[13/37] Compiling Commandant ArgumentProtocol.swift
/host/spi-builder-workspace/.build/checkouts/ref-GemCommonsKit/Sources/GemCommonsKit/Extension/Data+IO.swift:33:63: error: type 'Data.WritingOptions' (aka 'NSData.WritingOptions') has no member 'atomicWrite'
public func save(to file: URL, options: WritingOptions = .atomicWrite) -> Result<WriteResult, Error> {
~^~~~~~~~~~~
[14/37] Compiling Commandant Command.swift
/host/spi-builder-workspace/.build/checkouts/ref-GemCommonsKit/Sources/GemCommonsKit/Extension/Data+IO.swift:33:63: error: type 'Data.WritingOptions' (aka 'NSData.WritingOptions') has no member 'atomicWrite'
public func save(to file: URL, options: WritingOptions = .atomicWrite) -> Result<WriteResult, Error> {
~^~~~~~~~~~~
[15/37] Compiling GemCommonsKit CommonError.swift
[16/37] Compiling GemCommonsKit DLog.swift
[17/38] Compiling GemCommonsKit Data+empty.swift
[18/38] Compiling GemCommonsKit String+Digits.swift
[19/38] Compiling GemCommonsKit Thread+Internal.swift
[20/38] Compiling GemCommonsKit ResourceLoader.swift
[23/38] Compiling Commandant Errors.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[24/38] Emitting module GemCommonsKit
/host/spi-builder-workspace/.build/checkouts/ref-GemCommonsKit/Sources/GemCommonsKit/Extension/Data+IO.swift:33:63: error: type 'Data.WritingOptions' (aka 'NSData.WritingOptions') has no member 'atomicWrite'
public func save(to file: URL, options: WritingOptions = .atomicWrite) -> Result<WriteResult, Error> {
~^~~~~~~~~~~
[27/38] Compiling Commandant Option.swift
[28/38] Compiling Commandant HelpCommand.swift
[29/38] Compiling GemCommonsKit WeakRef.swift
[31/40] Compiling DataKit Base64.swift
[32/40] Compiling DataKit Data+HexString.swift
[33/40] Compiling DataKit Data+ASCIIString.swift
[0/1] Planning build
Building for debugging...
[1/11] Emitting module DataKit
[2/12] Compiling GemCommonsKit Data+IO.swift
/host/spi-builder-workspace/.build/checkouts/ref-GemCommonsKit/Sources/GemCommonsKit/Extension/Data+IO.swift:33:63: error: type 'Data.WritingOptions' (aka 'NSData.WritingOptions') has no member 'atomicWrite'
public func save(to file: URL, options: WritingOptions = .atomicWrite) -> Result<WriteResult, Error> {
~^~~~~~~~~~~
[4/13] Emitting module Commandant
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/14] Compiling GemCommonsKit Array+Data.swift
[6/14] Emitting module GemCommonsKit
/host/spi-builder-workspace/.build/checkouts/ref-GemCommonsKit/Sources/GemCommonsKit/Extension/Data+IO.swift:33:63: error: type 'Data.WritingOptions' (aka 'NSData.WritingOptions') has no member 'atomicWrite'
public func save(to file: URL, options: WritingOptions = .atomicWrite) -> Result<WriteResult, Error> {
~^~~~~~~~~~~
[9/18] Wrapping AST for DataKit for debugging
[11/18] Compiling GemCommonsKit WeakArray.swift
[12/18] Compiling GemCommonsKit DLog.swift
[13/18] Compiling GemCommonsKit String+Digits.swift
[13/18] Wrapping AST for Commandant for debugging
BUILD FAILURE 5.8 linux