Build Information
Failed to build nats-swift, reference v0.4.0 (436ca4), with Swift 6.1 for Android on 29 May 2025 21:46:54 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nats-io/nats.swift.git
Reference: v0.4.0
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/nats-io/nats.swift
* tag v0.4.0 -> FETCH_HEAD
HEAD is now at 436ca4a Add fetching messages from JetStream
Cloned https://github.com/nats-io/nats.swift.git
Revision (git rev-parse @):
436ca4a8cbbaeaeb5d21c14e23647d194774e6da
SUCCESS checkout https://github.com/nats-io/nats.swift.git at v0.4.0
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/nats-io/nats.swift.git
https://github.com/nats-io/nats.swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-nio",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio.git"
},
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.4.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log.git"
},
{
"identity" : "nkeys.swift",
"requirement" : {
"range" : [
{
"lower_bound" : "0.1.2",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/nats-io/nkeys.swift.git"
},
{
"identity" : "swift-nio-ssl",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio-ssl.git"
},
{
"identity" : "swift-nuid",
"requirement" : {
"range" : [
{
"lower_bound" : "0.2.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Jarema/swift-nuid.git"
}
],
"manifest_display_name" : "nats-swift",
"name" : "nats-swift",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
},
{
"name" : "ios",
"version" : "13.0"
}
],
"products" : [
{
"name" : "Nats",
"targets" : [
"Nats"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "JetStream",
"targets" : [
"JetStream"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "NatsServer",
"targets" : [
"NatsServer"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "bench",
"targets" : [
"bench"
],
"type" : {
"executable" : null
}
},
{
"name" : "Example",
"targets" : [
"Example"
],
"type" : {
"executable" : null
}
},
{
"name" : "BenchmarkSub",
"targets" : [
"BenchmarkSub"
],
"type" : {
"executable" : null
}
},
{
"name" : "BenchmarkPubSub",
"targets" : [
"BenchmarkPubSub"
],
"type" : {
"executable" : null
}
},
{
"name" : "Benchmark",
"targets" : [
"Benchmark"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "bench",
"module_type" : "SwiftTarget",
"name" : "bench",
"path" : "Sources/bench",
"product_memberships" : [
"bench"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"Nats"
],
"type" : "executable"
},
{
"c99name" : "NatsTests",
"module_type" : "SwiftTarget",
"name" : "NatsTests",
"path" : "Tests/NatsTests",
"resources" : [
{
"path" : "/host/spi-builder-workspace/Tests/NatsTests/Integration/Resources/TestUser.creds",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/NatsTests/Integration/Resources/certs/client-all.pem",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/NatsTests/Integration/Resources/certs/client-cert-invalid.pem",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/NatsTests/Integration/Resources/certs/client-cert.pem",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/NatsTests/Integration/Resources/certs/client-key-invalid.pem",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/NatsTests/Integration/Resources/certs/client-key.pem",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/NatsTests/Integration/Resources/certs/ip-ca.pem",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/NatsTests/Integration/Resources/certs/ip-cert.pem",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/NatsTests/Integration/Resources/certs/ip-key.pem",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/NatsTests/Integration/Resources/certs/rootCA-key.pem",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/NatsTests/Integration/Resources/certs/rootCA.pem",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/NatsTests/Integration/Resources/certs/server-cert.pem",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/NatsTests/Integration/Resources/certs/server-key.pem",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/NatsTests/Integration/Resources/creds.conf",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/NatsTests/Integration/Resources/jwt.conf",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/NatsTests/Integration/Resources/nkey",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/NatsTests/Integration/Resources/nkey.conf",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/NatsTests/Integration/Resources/permissions.conf",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/NatsTests/Integration/Resources/tls.conf",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/NatsTests/Integration/Resources/tls_first.conf",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/NatsTests/Integration/Resources/tls_first_auto.conf",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/NatsTests/Integration/Resources/token.conf",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/NatsTests/Integration/Resources/ws.conf",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/NatsTests/Integration/Resources/wss.conf",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"Integration/ConnectionTests.swift",
"Integration/EventsTests.swift",
"Integration/MessageWithHeadersTests.swift",
"Unit/ErrorsTests.swift",
"Unit/HeadersTests.swift",
"Unit/JwtTests.swift",
"Unit/ParserTests.swift"
],
"target_dependencies" : [
"Nats",
"NatsServer"
],
"type" : "test"
},
{
"c99name" : "NatsServer",
"module_type" : "SwiftTarget",
"name" : "NatsServer",
"path" : "Sources/NatsServer",
"product_dependencies" : [
"Logging"
],
"product_memberships" : [
"NatsServer"
],
"sources" : [
"NatsServer.swift"
],
"type" : "library"
},
{
"c99name" : "Nats",
"module_type" : "SwiftTarget",
"name" : "Nats",
"path" : "Sources/Nats",
"product_dependencies" : [
"NIO",
"NIOSSL",
"Logging",
"NIOFoundationCompat",
"NIOHTTP1",
"NIOWebSocket",
"NKeys",
"Nuid"
],
"product_memberships" : [
"Nats",
"JetStream",
"bench",
"Example",
"BenchmarkSub",
"BenchmarkPubSub",
"Benchmark"
],
"sources" : [
"BatchBuffer.swift",
"ConcurrentQueue.swift",
"Extensions/ByteBuffer+Writer.swift",
"Extensions/Data+Base64.swift",
"Extensions/Data+Parser.swift",
"Extensions/Data+String.swift",
"Extensions/String+Utilities.swift",
"HTTPUpgradeRequestHandler.swift",
"NatsClient/NatsClient+Events.swift",
"NatsClient/NatsClient.swift",
"NatsClient/NatsClientOptions.swift",
"NatsConnection.swift",
"NatsError.swift",
"NatsHeaders.swift",
"NatsJwtUtils.swift",
"NatsMessage.swift",
"NatsProto.swift",
"NatsSubscription.swift",
"RttCommand.swift"
],
"type" : "library"
},
{
"c99name" : "JetStreamTests",
"module_type" : "SwiftTarget",
"name" : "JetStreamTests",
"path" : "Tests/JetStreamTests",
"resources" : [
{
"path" : "/host/spi-builder-workspace/Tests/JetStreamTests/Integration/Resources/domain.conf",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/JetStreamTests/Integration/Resources/jetstream.conf",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/JetStreamTests/Integration/Resources/prefix.conf",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"Integration/ConsumerTests.swift",
"Integration/JetStreamTests.swift",
"Integration/RequestTests.swift",
"Unit/MessageTests.swift"
],
"target_dependencies" : [
"Nats",
"JetStream",
"NatsServer"
],
"type" : "test"
},
{
"c99name" : "JetStream",
"module_type" : "SwiftTarget",
"name" : "JetStream",
"path" : "Sources/JetStream",
"product_dependencies" : [
"Logging"
],
"product_memberships" : [
"JetStream"
],
"sources" : [
"Consumer+Pull.swift",
"Consumer.swift",
"JetStreamContext+Consumer.swift",
"JetStreamContext+Stream.swift",
"JetStreamContext.swift",
"JetStreamError.swift",
"JetStreamMessage.swift",
"NanoTimeInterval.swift",
"Stream+Consumer.swift",
"Stream.swift"
],
"target_dependencies" : [
"Nats"
],
"type" : "library"
},
{
"c99name" : "Example",
"module_type" : "SwiftTarget",
"name" : "Example",
"path" : "Sources/Example",
"product_memberships" : [
"Example"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"Nats"
],
"type" : "executable"
},
{
"c99name" : "BenchmarkSub",
"module_type" : "SwiftTarget",
"name" : "BenchmarkSub",
"path" : "Sources/BenchmarkSub",
"product_memberships" : [
"BenchmarkSub"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"Nats"
],
"type" : "executable"
},
{
"c99name" : "BenchmarkPubSub",
"module_type" : "SwiftTarget",
"name" : "BenchmarkPubSub",
"path" : "Sources/BenchmarkPubSub",
"product_memberships" : [
"BenchmarkPubSub"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"Nats"
],
"type" : "executable"
},
{
"c99name" : "Benchmark",
"module_type" : "SwiftTarget",
"name" : "Benchmark",
"path" : "Sources/Benchmark",
"product_memberships" : [
"Benchmark"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"Nats"
],
"type" : "executable"
}
],
"tools_version" : "5.7"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/nats-io/nkeys.swift.git
Fetching https://github.com/Jarema/swift-nuid.git
Fetching https://github.com/apple/swift-nio-ssl.git
[1/123] Fetching swift-nuid
[124/3959] Fetching swift-nuid, swift-log
[1122/4119] Fetching swift-nuid, swift-log, nkeys.swift
[4120/18962] Fetching swift-nuid, swift-log, nkeys.swift, swift-nio-ssl
[5308/95070] Fetching swift-nuid, swift-log, nkeys.swift, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-log.git from cache (1.76s)
[69163/91234] Fetching swift-nuid, nkeys.swift, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git from cache (1.78s)
[55081/76391] Fetching swift-nuid, nkeys.swift, swift-nio
Fetched https://github.com/Jarema/swift-nuid.git from cache (6.36s)
Fetched https://github.com/nats-io/nkeys.swift.git from cache (6.37s)
Fetched https://github.com/apple/swift-nio.git from cache (6.54s)
Computing version for https://github.com/Jarema/swift-nuid.git
Computed https://github.com/Jarema/swift-nuid.git at 0.2.0 (7.49s)
Computing version for https://github.com/nats-io/nkeys.swift.git
Computed https://github.com/nats-io/nkeys.swift.git at 0.1.2 (0.92s)
Fetching https://github.com/Jarema/Base32
Fetching https://github.com/jedisct1/swift-sodium.git
[1/1112] Fetching base32
[1069/5599] Fetching base32, swift-sodium
Fetched https://github.com/Jarema/Base32 from cache (6.48s)
Fetched https://github.com/jedisct1/swift-sodium.git from cache (6.60s)
Computing version for https://github.com/Jarema/Base32
Computed https://github.com/Jarema/Base32 at 0.10.2 (10.87s)
Computing version for https://github.com/jedisct1/swift-sodium.git
Computed https://github.com/jedisct1/swift-sodium.git at 0.9.1 (0.91s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (1.31s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.31.0 (1.24s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (1.35s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-atomics.git
[1/4391] Fetching swift-system
[3953/20982] Fetching swift-system, swift-collections
[5056/22692] Fetching swift-system, swift-collections, swift-atomics
Fetched https://github.com/apple/swift-system.git from cache (0.67s)
[6024/18301] Fetching swift-collections, swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.77s)
[4480/16591] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.86s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (2.74s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.85s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.97s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.83.0
Creating working copy for https://github.com/Jarema/swift-nuid.git
Working copy of https://github.com/Jarema/swift-nuid.git resolved at 0.2.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.5.0
Creating working copy for https://github.com/nats-io/nkeys.swift.git
Working copy of https://github.com/nats-io/nkeys.swift.git resolved at 0.1.2
Creating working copy for https://github.com/Jarema/Base32
Working copy of https://github.com/Jarema/Base32 resolved at 0.10.2
Creating working copy for https://github.com/jedisct1/swift-sodium.git
Working copy of https://github.com/jedisct1/swift-sodium.git resolved at 0.9.1
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.31.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
warning: you may be able to install libsodium using your system-packager:
apt-get install libsodium-dev
warning: you may be able to install libsodium using your system-packager:
apt-get install libsodium-dev
Building for debugging...
[0/478] Write sources
[3/478] Compiling _AtomicsShims.c
[4/478] Write sources
[24/478] Compiling CNIOWindows shim.c
[25/478] Compiling CNIOWindows WSAStartup.c
[26/478] Compiling CNIOWASI CNIOWASI.c
[27/478] Compiling CNIOSHA1 c_nio_sha1.c
[28/478] Compiling CNIOLinux shim.c
[29/478] Compiling CNIOLinux liburing_shims.c
[30/478] Compiling CNIOLLHTTP c_nio_llhttp.c
[31/478] Compiling CNIOLLHTTP c_nio_http.c
[32/478] Compiling a_dup.cc
[33/478] Compiling a_bitstr.cc
[34/478] Compiling CNIODarwin shim.c
[35/478] Compiling a_d2i_fp.cc
[36/478] Compiling CNIOLLHTTP c_nio_api.c
[37/478] Write swift-version-24593BA9C3E375BF.txt
[38/478] Compiling fiat_p256_adx_sqr.S
[39/478] Compiling fiat_p256_adx_mul.S
[40/491] Compiling a_bool.cc
[41/511] Compiling CNIOBoringSSLShims shims.c
[42/525] Compiling c-nioatomics.c
[43/525] Compiling fiat_curve25519_adx_square.S
[44/525] Compiling fiat_curve25519_adx_mul.S
[45/525] Compiling c-atomics.c
[47/531] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[48/531] Compiling InternalCollectionsUtilities Debugging.swift
[49/531] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[50/531] Compiling InternalCollectionsUtilities _SortedCollection.swift
[51/532] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[52/532] Compiling InternalCollectionsUtilities UInt+reversed.swift
[53/532] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[54/532] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[55/532] Compiling _NIODataStructures PriorityQueue.swift
[56/532] Compiling _NIODataStructures _TinyArray.swift
[57/532] Emitting module _NIODataStructures
[58/532] Compiling _NIODataStructures Heap.swift
[59/532] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[60/533] Emitting module InternalCollectionsUtilities
[61/533] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[62/533] Compiling InternalCollectionsUtilities Integer rank.swift
[63/533] Compiling InternalCollectionsUtilities Descriptions.swift
[64/533] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[65/533] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[66/533] Compiling _NIOBase64 Base64.swift
[67/533] Emitting module _NIOBase64
[68/534] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[69/534] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[71/535] Compiling NIOConcurrencyHelpers NIOLock.swift
[72/535] Compiling NIOConcurrencyHelpers atomics.swift
[74/535] Compiling NIOConcurrencyHelpers lock.swift
[75/535] Wrapping AST for _NIODataStructures for debugging
[77/535] Emitting module NIOConcurrencyHelpers
[77/536] Wrapping AST for _NIOBase64 for debugging
[78/536] Compiling tls_record.cc
[80/536] Wrapping AST for InternalCollectionsUtilities for debugging
[81/551] Wrapping AST for NIOConcurrencyHelpers for debugging
[83/551] Compiling DequeModule Deque+CustomReflectable.swift
[84/551] Compiling DequeModule Deque+Descriptions.swift
[85/553] Compiling DequeModule _DequeBuffer.swift
[86/553] Compiling DequeModule _DequeBufferHeader.swift
[87/553] Compiling DequeModule Deque+Extras.swift
[88/553] Compiling DequeModule Deque+Hashable.swift
[89/553] Compiling DequeModule Deque+Equatable.swift
[90/553] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[91/553] Compiling DequeModule _DequeSlot.swift
[92/553] Compiling DequeModule _UnsafeWrappedBuffer.swift
[93/553] Compiling DequeModule Deque+Testing.swift
[94/553] Compiling DequeModule Deque._Storage.swift
[95/553] Compiling DequeModule Deque._UnsafeHandle.swift
[96/553] Compiling DequeModule Deque.swift
[97/553] Compiling DequeModule Deque+Codable.swift
[98/553] Compiling DequeModule Deque+Collection.swift
[98/553] Compiling tls_method.cc
[100/553] Emitting module DequeModule
[101/554] Compiling tls13_enc.cc
[103/554] Emitting module Logging
[104/554] Compiling Logging Locks.swift
[105/554] Compiling Logging MetadataProvider.swift
[105/554] Compiling tls13_client.cc
[107/554] Compiling Logging LogHandler.swift
[108/554] Compiling Logging Logging.swift
[108/555] Compiling tls13_server.cc
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Clibsodium/shim.h:1:10: error: 'sodium.h' file not found
1 | #include <sodium.h>
| `- error: 'sodium.h' file not found
2 |
3 | #warning Using a system installation of libsodium - This is unsupported.
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Aead.swift:2:8: error: could not build C module 'Clibsodium'
1 | import Foundation
2 | import Clibsodium
| `- error: could not build C module 'Clibsodium'
3 |
4 | public struct Aead {
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Clibsodium/shim.h:1:10: error: 'sodium.h' file not found
1 | #include <sodium.h>
| `- error: 'sodium.h' file not found
2 |
3 | #warning Using a system installation of libsodium - This is unsupported.
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Aead.swift:2:8: error: could not build C module 'Clibsodium'
1 | import Foundation
2 | import Clibsodium
| `- error: could not build C module 'Clibsodium'
3 |
4 | public struct Aead {
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Clibsodium/shim.h:1:10: error: 'sodium.h' file not found
1 | #include <sodium.h>
| `- error: 'sodium.h' file not found
2 |
3 | #warning Using a system installation of libsodium - This is unsupported.
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Aead.swift:2:8: error: could not build C module 'Clibsodium'
1 | import Foundation
2 | import Clibsodium
| `- error: could not build C module 'Clibsodium'
3 |
4 | public struct Aead {
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Clibsodium/shim.h:1:10: error: 'sodium.h' file not found
1 | #include <sodium.h>
| `- error: 'sodium.h' file not found
2 |
3 | #warning Using a system installation of libsodium - This is unsupported.
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Aead.swift:2:8: error: could not build C module 'Clibsodium'
1 | import Foundation
2 | import Clibsodium
| `- error: could not build C module 'Clibsodium'
3 |
4 | public struct Aead {
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Clibsodium/shim.h:1:10: error: 'sodium.h' file not found
1 | #include <sodium.h>
| `- error: 'sodium.h' file not found
2 |
3 | #warning Using a system installation of libsodium - This is unsupported.
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Aead.swift:2:8: error: could not build C module 'Clibsodium'
1 | import Foundation
2 | import Clibsodium
| `- error: could not build C module 'Clibsodium'
3 |
4 | public struct Aead {
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Clibsodium/shim.h:1:10: error: 'sodium.h' file not found
1 | #include <sodium.h>
| `- error: 'sodium.h' file not found
2 |
3 | #warning Using a system installation of libsodium - This is unsupported.
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Aead.swift:2:8: error: could not build C module 'Clibsodium'
1 | import Foundation
2 | import Clibsodium
| `- error: could not build C module 'Clibsodium'
3 |
4 | public struct Aead {
[117/557] Emitting module Nuid
[118/557] Compiling Nuid Nuid.swift
/host/spi-builder-workspace/.build/checkouts/swift-nuid/Sources/Nuid/Nuid.swift:55:22: error: cannot find 'SecRandomCopyBytes' in scope
53 | func randomizePrefix() {
54 | var cb = [UInt8](repeating: 0, count: PRE_LEN)
55 | let result = SecRandomCopyBytes(kSecRandomDefault, PRE_LEN, &cb)
| `- error: cannot find 'SecRandomCopyBytes' in scope
56 |
57 | if result != errSecSuccess {
/host/spi-builder-workspace/.build/checkouts/swift-nuid/Sources/Nuid/Nuid.swift:55:41: error: cannot find 'kSecRandomDefault' in scope
53 | func randomizePrefix() {
54 | var cb = [UInt8](repeating: 0, count: PRE_LEN)
55 | let result = SecRandomCopyBytes(kSecRandomDefault, PRE_LEN, &cb)
| `- error: cannot find 'kSecRandomDefault' in scope
56 |
57 | if result != errSecSuccess {
/host/spi-builder-workspace/.build/checkouts/swift-nuid/Sources/Nuid/Nuid.swift:57:22: error: cannot find 'errSecSuccess' in scope
55 | let result = SecRandomCopyBytes(kSecRandomDefault, PRE_LEN, &cb)
56 |
57 | if result != errSecSuccess {
| `- error: cannot find 'errSecSuccess' in scope
58 | fatalError("nuid: failed generating crypto random number")
59 | }
[118/557] Compiling tls13_both.cc
[119/557] Compiling ssl_transcript.cc
[119/557] Compiling t1_enc.cc
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/swift-sodium/Clibsodium/shim.h:1:10: error: 'sodium.h' file not found
1 | #include <sodium.h>
| `- error: 'sodium.h' file not found
2 |
3 | #warning Using a system installation of libsodium - This is unsupported.
[119/557] Compiling ssl_stat.cc
[119/557] Compiling ssl_versions.cc
[119/557] Compiling ssl_x509.cc
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
warning: you may be able to install libsodium using your system-packager:
apt-get install libsodium-dev
warning: you may be able to install libsodium using your system-packager:
apt-get install libsodium-dev
[0/1] Planning build
Building for debugging...
[0/422] Write sources
[3/427] Compiling ssl_stat.cc
[4/427] Compiling ssl_transcript.cc
[5/427] Compiling t1_enc.cc
[6/427] Compiling ssl_x509.cc
[7/427] Compiling ssl_versions.cc
[8/427] Compiling ssl_session.cc
[9/427] Compiling ssl_privkey.cc
[10/427] Write swift-version-24593BA9C3E375BF.txt
[11/427] Compiling ssl_lib.cc
[13/431] Compiling _NIODataStructures Heap.swift
[13/431] Compiling ssl_key_share.cc
[13/431] Compiling ssl_file.cc
[16/431] Emitting module _NIODataStructures
[16/431] Compiling ssl_credential.cc
[17/431] Compiling ssl_cipher.cc
[19/431] Compiling _NIODataStructures PriorityQueue.swift
[20/431] Compiling _NIODataStructures _TinyArray.swift
[20/432] Compiling ssl_asn1.cc
[21/434] Compiling ssl_cert.cc
[22/434] Compiling ssl_buffer.cc
[25/485] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[26/485] Emitting module Nuid
[27/485] Compiling Nuid Nuid.swift
/host/spi-builder-workspace/.build/checkouts/swift-nuid/Sources/Nuid/Nuid.swift:55:22: error: cannot find 'SecRandomCopyBytes' in scope
53 | func randomizePrefix() {
54 | var cb = [UInt8](repeating: 0, count: PRE_LEN)
55 | let result = SecRandomCopyBytes(kSecRandomDefault, PRE_LEN, &cb)
| `- error: cannot find 'SecRandomCopyBytes' in scope
56 |
57 | if result != errSecSuccess {
/host/spi-builder-workspace/.build/checkouts/swift-nuid/Sources/Nuid/Nuid.swift:55:41: error: cannot find 'kSecRandomDefault' in scope
53 | func randomizePrefix() {
54 | var cb = [UInt8](repeating: 0, count: PRE_LEN)
55 | let result = SecRandomCopyBytes(kSecRandomDefault, PRE_LEN, &cb)
| `- error: cannot find 'kSecRandomDefault' in scope
56 |
57 | if result != errSecSuccess {
/host/spi-builder-workspace/.build/checkouts/swift-nuid/Sources/Nuid/Nuid.swift:57:22: error: cannot find 'errSecSuccess' in scope
55 | let result = SecRandomCopyBytes(kSecRandomDefault, PRE_LEN, &cb)
56 |
57 | if result != errSecSuccess {
| `- error: cannot find 'errSecSuccess' in scope
58 | fatalError("nuid: failed generating crypto random number")
59 | }
[27/485] Compiling ssl_aead_ctx.cc
BUILD FAILURE 6.1 android