Build Information
Failed to build Solana with Swift 5.9 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-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.22.5
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/crewshin/solana-swift.git
Reference: 0.0.3
Cloned https://github.com/crewshin/solana-swift.git into /host/spi-builder-workspace
Revision (git rev-parse @):
SUCCESS checkout https://github.com/crewshin/solana-swift.git at 0.0.3
========================================
Build
========================================
Selected platform: linux
Swift version: 5.9
Building package at path: /host/spi-builder-workspace
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Client: Docker Engine - Community
Version: 24.0.6
Context: default
Debug Mode: false
Plugins:
buildx: Docker Buildx (Docker Inc.)
Version: v0.11.2
Path: /usr/libexec/docker/cli-plugins/docker-buildx
compose: Docker Compose (Docker Inc.)
Version: v2.21.0
Path: /usr/libexec/docker/cli-plugins/docker-compose
Server:
Containers: 3
Running: 3
Paused: 0
Stopped: 0
Images: 7
Server Version: 24.0.2
Storage Driver: overlay2
Backing Filesystem: extfs
Supports d_type: true
Using metacopy: false
Native Overlay Diff: false
userxattr: false
Logging Driver: json-file
Cgroup Driver: cgroupfs
Cgroup Version: 1
Plugins:
Volume: local
Network: bridge host ipvlan macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
Swarm: inactive
Runtimes: io.containerd.runc.v2 runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 3dce8eb055cbb6872793272b4f20ed16117344f8
runc version: v1.1.7-0-g860f061
init version: de40ad0
Security Options:
apparmor
seccomp
Profile: builtin
Kernel Version: 5.4.0-1109-azure
Operating System: Ubuntu 18.04.6 LTS
OSType: linux
Architecture: x86_64
CPUs: 8
Total Memory: 31.36GiB
Name: lb1
ID: UY74:UH4K:TTAZ:FGJU:C4S4:QTKO:WTQO:SFMF:XQCM:7D33:AENF:QBQA
Docker Root Dir: /var/lib/docker
Debug Mode: false
Labels:
provider=azure
Experimental: false
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false
Fetching https://github.com/crewshin/ed25519swift
Fetching https://github.com/attaswift/BigInt.git
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
[1/952] Fetching ed25519swift
[953/4049] Fetching ed25519swift, bigint
[1232/16518] Fetching ed25519swift, bigint, cryptoswift
Fetching https://github.com/keefertaylor/Base58Swift
Fetched https://github.com/crewshin/ed25519swift (1.25s)
Fetched https://github.com/attaswift/BigInt.git (1.26s)
Fetched https://github.com/krzyzanowskim/CryptoSwift.git (1.28s)
[1/508] Fetching base58swift
Fetched https://github.com/keefertaylor/Base58Swift (0.25s)
Computing version for https://github.com/crewshin/ed25519swift
Computed https://github.com/crewshin/ed25519swift at 1.2.6 (0.35s)
Computing version for https://github.com/keefertaylor/Base58Swift
Computed https://github.com/keefertaylor/Base58Swift at 2.1.14 (0.35s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.3.8 (0.36s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 5.2.1 (0.44s)
Creating working copy for https://github.com/attaswift/BigInt.git
Working copy of https://github.com/attaswift/BigInt.git resolved at 5.2.1
Creating working copy for https://github.com/crewshin/ed25519swift
Working copy of https://github.com/crewshin/ed25519swift resolved at 1.2.6
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.3.8
Creating working copy for https://github.com/keefertaylor/Base58Swift
Working copy of https://github.com/keefertaylor/Base58Swift resolved at 2.1.14
Building for debugging...
[1/89] Emitting module CryptoSwift
[2/98] Compiling BigInt Strideable.swift
[3/98] Compiling BigInt String Conversion.swift
[4/98] Compiling BigInt Integer Conversion.swift
[5/98] Compiling BigInt Multiplication.swift
[6/98] Compiling BigInt Prime Test.swift
[7/98] Compiling BigInt Random.swift
[8/98] Compiling BigInt Shifts.swift
[9/98] Compiling BigInt Square Root.swift
[10/100] Emitting module BigInt
[11/100] Compiling BigInt Floating Point Conversion.swift
[12/100] Compiling BigInt GCD.swift
[13/100] Compiling BigInt Hashable.swift
[14/100] Compiling BigInt Data Conversion.swift
[15/100] Compiling BigInt Division.swift
[16/100] Compiling BigInt Exponentiation.swift
[17/100] Compiling CryptoSwift String+Extension.swift
[18/100] Compiling CryptoSwift UInt128.swift
[19/100] Compiling CryptoSwift UInt16+Extension.swift
[20/100] Compiling CryptoSwift UInt32+Extension.swift
[21/100] Compiling CryptoSwift UInt64+Extension.swift
[22/100] Compiling CryptoSwift UInt8+Extension.swift
[23/100] Compiling CryptoSwift Updatable.swift
[24/100] Compiling CryptoSwift Utils.swift
[25/100] Compiling CryptoSwift ZeroPadding.swift
[26/100] Compiling BigInt Addition.swift
[27/100] Compiling BigInt BigInt.swift
[28/100] Compiling BigInt BigUInt.swift
[29/100] Compiling BigInt Bitwise Ops.swift
[30/100] Compiling BigInt Codable.swift
[31/100] Compiling BigInt Comparable.swift
[32/100] Compiling BigInt Subtraction.swift
[33/100] Compiling BigInt Words and Bits.swift
[46/102] Compiling CryptoSwift CompactMap.swift
[47/102] Compiling CryptoSwift Cryptor.swift
[48/102] Compiling CryptoSwift Cryptors.swift
[49/102] Compiling CryptoSwift Digest.swift
[50/102] Compiling CryptoSwift DigestType.swift
[51/102] Compiling CryptoSwift AES+Foundation.swift
[52/102] Compiling CryptoSwift Array+Foundation.swift
[53/102] Compiling CryptoSwift Blowfish+Foundation.swift
[54/102] Compiling CryptoSwift ChaCha20+Foundation.swift
[55/102] Compiling CryptoSwift Data+Extension.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[56/104] Emitting module Base58Swift
/host/spi-builder-workspace/.build/checkouts/Base58Swift/Base58Swift/Base58.swift:4:8: error: no such module 'CommonCrypto'
import CommonCrypto
^
[57/104] Compiling Base58Swift Base58.swift
/host/spi-builder-workspace/.build/checkouts/Base58Swift/Base58Swift/Base58.swift:4:8: error: no such module 'CommonCrypto'
import CommonCrypto
^
error: fatalError
[58/104] Compiling CryptoSwift BlockEncryptor.swift
[59/104] Compiling CryptoSwift BlockMode.swift
[60/104] Compiling CryptoSwift BlockModeOptions.swift
[61/104] Compiling CryptoSwift CBC.swift
[62/104] Compiling CryptoSwift CCM.swift
[63/104] Compiling CryptoSwift CFB.swift
[64/104] Compiling CryptoSwift CTR.swift
[65/104] Compiling CryptoSwift CipherModeWorker.swift
[66/104] Compiling CryptoSwift ECB.swift
[67/104] Compiling CryptoSwift GCM.swift
[68/104] Compiling CryptoSwift HMAC+Foundation.swift
[69/104] Compiling CryptoSwift Rabbit+Foundation.swift
[70/104] Compiling CryptoSwift String+FoundationExtension.swift
[71/104] Compiling CryptoSwift Utils+Foundation.swift
[72/104] Compiling CryptoSwift Generics.swift
[73/104] Compiling CryptoSwift HKDF.swift
[74/104] Compiling CryptoSwift HMAC.swift
[75/104] Compiling CryptoSwift ISO78164Padding.swift
[76/104] Compiling CryptoSwift Int+Extension.swift
[80/104] Compiling CryptoSwift PBKDF1.swift
[81/104] Compiling CryptoSwift PBKDF2.swift
[82/104] Compiling CryptoSwift PKCS5.swift
[83/104] Compiling CryptoSwift PKCS7.swift
[84/104] Compiling CryptoSwift PKCS7Padding.swift
[85/104] Compiling CryptoSwift Padding.swift
[86/104] Compiling CryptoSwift AEAD.swift
[87/104] Compiling CryptoSwift AEADChaCha20Poly1305.swift
[88/104] Compiling CryptoSwift AES.Cryptors.swift
[89/104] Compiling CryptoSwift AES.swift
[90/104] Compiling CryptoSwift Array+Extension.swift
[91/104] Compiling CryptoSwift Authenticator.swift
[92/104] Compiling CryptoSwift BatchedCollection.swift
[93/104] Compiling CryptoSwift Bit.swift
[94/104] Compiling CryptoSwift BlockCipher.swift
[95/104] Compiling CryptoSwift BlockDecryptor.swift
BUILD FAILURE 5.9 linux