Build Information
Failed to build ASN1Codable with Swift 5.9 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.28.7
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/PADL/ASN1Codable.git
Reference: 0.1.3
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/ASN1Codable
* tag 0.1.3 -> FETCH_HEAD
HEAD is now at fce8757 remove unused isString method
Cloned https://github.com/PADL/ASN1Codable.git
Revision (git rev-parse @):
fce8757cc6d98686a8b7cc9cb8722848eadb8e70
SUCCESS checkout https://github.com/PADL/ASN1Codable.git at 0.1.3
========================================
Build
========================================
Selected platform: linux
Swift version: 5.9
Building package at path: $PWD/checkout
https://github.com/PADL/ASN1Codable.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/PADL/ASN1Kit
[1/865] Fetching asn1kit
Fetched https://github.com/PADL/ASN1Kit (0.23s)
Fetching https://github.com/ole/Echo
[1/870] Fetching echo
Fetched https://github.com/ole/Echo (0.19s)
Fetching https://github.com/mkrd/Swift-BigInt
[1/1808] Fetching swift-bigint
Fetched https://github.com/mkrd/Swift-BigInt (0.38s)
Fetching https://github.com/gematik/ref-GemCommonsKit
[1/415] Fetching ref-gemcommonskit
Fetched https://github.com/gematik/ref-GemCommonsKit (0.24s)
Fetching http://github.com/Quick/Nimble
Fetching https://github.com/apple/swift-atomics.git
Fetching http://github.com/Carthage/Commandant
[1/2323] Fetching commandant
[2324/3886] Fetching commandant, swift-atomics
Fetched http://github.com/Carthage/Commandant (0.35s)
Fetching https://github.com/SwiftCommon/DataKit.git
Fetched https://github.com/apple/swift-atomics.git (0.35s)
Fetching https://github.com/Flight-School/AnyCodable
[1/756] Fetching anycodable
[757/1979] Fetching anycodable, datakit
Fetched https://github.com/Flight-School/AnyCodable (0.21s)
[1/17281] Fetching nimble
Fetched https://github.com/SwiftCommon/DataKit.git (0.26s)
Fetched http://github.com/Quick/Nimble (1.33s)
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/Flight-School/AnyCodable
Computed https://github.com/Flight-School/AnyCodable at 0.6.7 (0.39s)
Computing version for http://github.com/Quick/Nimble
Computed http://github.com/Quick/Nimble at 9.2.1 (0.42s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/1236] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git (0.21s)
Computing version for http://github.com/Carthage/Commandant
Computed http://github.com/Carthage/Commandant at 0.18.0 (0.34s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 0.0.3 (0.34s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.0 (0.35s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/432] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git (0.18s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.1.2 (0.36s)
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/ole/Echo
Working copy of https://github.com/ole/Echo resolved at fix-release-build
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 https://github.com/Flight-School/AnyCodable
Working copy of https://github.com/Flight-School/AnyCodable resolved at 0.6.7
Creating working copy for http://github.com/Quick/Nimble
Working copy of http://github.com/Quick/Nimble resolved at 9.2.1
Creating working copy for https://github.com/mkrd/Swift-BigInt
Working copy of https://github.com/mkrd/Swift-BigInt resolved at master
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.0
Creating working copy for https://github.com/PADL/ASN1Kit
Working copy of https://github.com/PADL/ASN1Kit resolved at lhoward/pr
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.1.2
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 0.0.3
Building for debugging...
[0/15] Compiling CEcho ValueWitnessTable.c
[1/15] Compiling CEcho KnownMetadata.c
[2/15] Compiling CEcho Functions.c
[3/15] Compiling CEcho ImageInspectionMachO.c
[4/15] Compiling CEcho CallAccessor.c
[5/15] Compiling CEcho ImageInspectionELF.c
[6/15] Compiling _AtomicsShims.c
[8/63] Compiling Commandant Result+Additions.swift
[9/64] Compiling Atomics AtomicStrongReference.swift
[10/64] Compiling Atomics AtomicValue.swift
[11/65] Compiling Commandant OrderedSet.swift
[12/65] Compiling Atomics DoubleWord.swift
[13/65] Compiling Atomics AtomicBool.swift
[14/65] Compiling Atomics AtomicLazyReference.swift
[15/65] Emitting module Atomics
[16/65] Compiling Commandant Switch.swift
[17/65] Compiling GemCommonsKit Array+Data.swift
[18/65] Compiling GemCommonsKit Data+IO.swift
[19/65] Compiling Atomics AtomicOptional.swift
[20/65] Compiling Atomics AtomicRawRepresentable.swift
[21/65] Compiling Atomics PointerConformances.swift
[22/65] Compiling Atomics HighLevelTypes.swift
[23/65] Compiling Atomics IntegerConformances.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> {
~^~~~~~~~~~~
/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> {
~^~~~~~~~~~~
[28/68] Compiling GemCommonsKit WeakArray.swift
[29/68] Compiling GemCommonsKit WeakRef.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[32/68] 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> {
~^~~~~~~~~~~
[35/68] Emitting module Commandant
[36/76] Compiling Echo AnonymousDescriptor.swift
[37/76] Compiling Echo ClassDescriptor.swift
[38/83] Compiling Echo ProtocolDescriptor.swift
[39/83] Compiling Echo StructDescriptor.swift
[40/90] Compiling Echo ContextDescriptor.swift
[41/90] Compiling Echo ContextDescriptorValues.swift
[42/96] Compiling Commandant Errors.swift
[43/100] Compiling Echo ModuleDescriptor.swift
[44/100] Compiling Echo OpaqueDescriptor.swift
[45/101] Compiling Echo FieldDescriptor.swift
[46/101] Compiling Echo GenericContext.swift
[47/114] Compiling DataKit Data+HexString.swift
[48/114] Compiling DataKit Data+ASCIIString.swift
[49/114] Compiling DataKit Data+UTF8String.swift
[50/114] Emitting module DataKit
[51/114] Compiling DataKit Array+Data.swift
[52/114] Compiling DataKit Base64.swift
[53/114] Compiling AnyCodable AnyDecodable.swift
[54/114] Compiling Commandant HelpCommand.swift
[55/114] Emitting module AnyCodable
[56/114] Compiling AnyCodable AnyCodable.swift
[57/114] Compiling Commandant Option.swift
[58/116] Compiling AnyCodable AnyEncodable.swift
error: fatalError
[62/120] Emitting module BigNumber
[0/1] Planning build
Building for debugging...
[1/62] Emitting module AnyCodable
[2/62] Emitting module DataKit
[3/64] 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> {
~^~~~~~~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/64] 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> {
~^~~~~~~~~~~
[5/64] Compiling GemCommonsKit Array+Data.swift
[6/70] Emitting module BigNumber
[7/70] Emitting module Commandant
[13/73] Compiling GemCommonsKit String+Digits.swift
[14/74] Compiling GemCommonsKit Thread+Internal.swift
[15/74] Compiling GemCommonsKit BlockingVar.swift
[16/74] Compiling GemCommonsKit DLog.swift
[18/74] Compiling GemCommonsKit ResourceLoader.swift
[19/74] Compiling GemCommonsKit WeakArray.swift
error: fatalError
[19/74] Wrapping AST for Commandant for debugging
[19/74] Wrapping AST for DataKit for debugging
[19/74] Wrapping AST for AnyCodable for debugging
[20/74] Compiling Echo ValueWitnessTable.swift
[21/74] Compiling Echo ConformanceDescriptor.swift
[22/74] Compiling Echo ExistentialContainer.swift
[23/74] Compiling Echo Functions.swift
[24/74] Compiling Echo HeapObject.swift
[25/74] Compiling Echo ImageInspection.swift
[26/74] Compiling Echo ClassMetadata.swift
[27/74] Compiling Echo EnumMetadata.swift
[28/74] Compiling Echo EnumValueWitnessTable.swift
[29/74] Compiling Echo ExistentialMetadata.swift
[30/74] Compiling Echo ExistentialMetatypeMetadata.swift
[31/74] Compiling Echo ForeignClassMetadata.swift
[32/74] Compiling Echo FunctionMetadata.swift
BUILD FAILURE 5.9 linux