The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of swift-sodium, reference v0.0.2 (1c76ec), with Swift 5.10 for macOS (SPM) on 15 Aug 2024 14:52:29 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.49.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sinoru/swift-sodium.git
Reference: v0.0.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/sinoru/swift-sodium
 * tag               v0.0.2     -> FETCH_HEAD
HEAD is now at 1c76ec2 Merge branch 'release/0.0.2'
Cloned https://github.com/sinoru/swift-sodium.git
Revision (git rev-parse @):
1c76ec249bec72659723e0775d0aee32777b64ca
SUCCESS checkout https://github.com/sinoru/swift-sodium.git at v0.0.2
Fetching https://github.com/apple/swift-nio
[1/69015] Fetching swift-nio
Fetched https://github.com/apple/swift-nio from cache (6.57s)
Computing version for https://github.com/apple/swift-nio
Computed https://github.com/apple/swift-nio at 2.70.0 (0.52s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/1569] Fetching swift-atomics
[49/5195] Fetching swift-atomics, swift-system
[2203/20087] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.82s)
Fetched https://github.com/apple/swift-atomics.git from cache (1.82s)
Fetched https://github.com/apple/swift-system.git from cache (1.82s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.45s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.3.2 (0.45s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.2 (2.84s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.2
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.3.2
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
Working copy of https://github.com/apple/swift-nio resolved at 2.70.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "swift-sodium",
      "name": "swift-sodium",
      "url": "https://github.com/sinoru/swift-sodium.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-sodium",
      "dependencies": [
        {
          "identity": "swift-nio",
          "name": "swift-nio",
          "url": "https://github.com/apple/swift-nio",
          "version": "2.70.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-nio",
          "dependencies": [
            {
              "identity": "swift-atomics",
              "name": "swift-atomics",
              "url": "https://github.com/apple/swift-atomics.git",
              "version": "1.2.0",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-atomics",
              "dependencies": [
              ]
            },
            {
              "identity": "swift-collections",
              "name": "swift-collections",
              "url": "https://github.com/apple/swift-collections.git",
              "version": "1.1.2",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-collections",
              "dependencies": [
              ]
            },
            {
              "identity": "swift-system",
              "name": "swift-system",
              "url": "https://github.com/apple/swift-system.git",
              "version": "1.3.2",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-system",
              "dependencies": [
              ]
            }
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/sinoru/swift-sodium.git
[1/1108] Fetching swift-sodium
Fetched https://github.com/sinoru/swift-sodium.git from cache (0.92s)
Fetching https://github.com/apple/swift-nio from cache
Fetched https://github.com/apple/swift-nio from cache (0.74s)
Computing version for https://github.com/apple/swift-nio
Computed https://github.com/apple/swift-nio at 2.70.0 (0.03s)
Fetching https://github.com/apple/swift-collections.git from cache
Fetching https://github.com/apple/swift-system.git from cache
Fetching https://github.com/apple/swift-atomics.git from cache
Fetched https://github.com/apple/swift-system.git from cache (0.55s)
Fetched https://github.com/apple/swift-atomics.git from cache (0.55s)
Fetched https://github.com/apple/swift-collections.git from cache (0.56s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.03s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.3.2 (0.02s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.2 (0.02s)
Creating working copy for https://github.com/sinoru/swift-sodium.git
Working copy of https://github.com/sinoru/swift-sodium.git resolved at v0.0.2 (1c76ec2)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.2
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.3.2
Creating working copy for https://github.com/apple/swift-nio
Working copy of https://github.com/apple/swift-nio resolved at 2.70.0
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
warning: '.resolve-product-dependencies': dependency 'swift-sodium' is not used by any target
Found 1 product dependencies
  - swift-nio
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $PWD
https://github.com/sinoru/swift-sodium.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/148] Write swift-version-33747A42983211AE.txt
[1/148] Write sources
[3/152] Compiling pwhash_scryptsalsa208sha256_nosse.c
[4/152] Compiling crypto_pwhash.c
[5/152] Compiling pwhash_argon2i.c
[6/152] Write sources
[16/152] Compiling keypair.c
[17/152] Compiling pwhash_argon2id.c
[18/152] Compiling aegis256_aesni.c
[19/154] Compiling version.c
[20/161] Compiling utils.c
[21/169] Compiling runtime.c
[22/172] Compiling crypto_scrypt-common.c
[23/172] Compiling core.c
[24/172] Compiling randombytes.c
[25/172] Compiling codecs.c
[26/172] Compiling randombytes_sysrandom.c
[27/172] Compiling blake2b-long.c
[28/172] Compiling randombytes_internal_random.c
[29/172] Compiling verify.c
[30/172] Compiling stream_xsalsa20.c
[31/172] Compiling stream_xchacha20.c
[32/172] Compiling stream_salsa208.c
[33/172] Compiling stream_salsa208_ref.c
[34/172] Compiling stream_salsa2012.c
[35/172] Compiling stream_salsa2012_ref.c
[36/172] Compiling salsa20_xmm6int-sse2.c
[37/172] Compiling salsa20_xmm6int-avx2.c
[38/172] Compiling salsa20_xmm6.c
[39/172] Compiling salsa20_xmm6-asm.S
[40/172] Compiling aegis256_armcrypto.c
[41/172] Compiling stream_salsa20.c
[42/172] Compiling salsa20_ref.c
[43/172] Compiling crypto_stream.c
[44/172] Compiling stream_chacha20.c
[45/172] Compiling chacha20_ref.c
[46/172] Compiling chacha20_dolbeau-ssse3.c
[47/172] Compiling chacha20_dolbeau-avx2.c
[48/172] Compiling sign_ed25519.c
[49/172] Compiling sign.c
[50/172] Compiling open.c
[51/172] Compiling crypto_sign.c
[51/172] Compiling obsolete.c
[53/172] Compiling shorthash_siphashx24.c
[54/172] Compiling shorthash_siphash24.c
[55/172] Compiling shorthash_siphash24_ref.c
[56/172] Compiling shorthash_siphashx24_ref.c
[57/172] Compiling crypto_shorthash.c
[58/172] Compiling secretbox_xsalsa20poly1305.c
[59/172] Compiling secretbox_xchacha20poly1305.c
[60/172] Compiling secretstream_xchacha20poly1305.c
[61/172] Compiling crypto_secretbox_easy.c
[61/172] Compiling crypto_secretbox.c
[63/172] Compiling sandy2x.S
[64/172] Compiling scalarmult_ed25519_ref10.c
[65/172] Compiling scalarmult_ristretto255_ref10.c
[66/172] Compiling _AtomicsShims.c
[67/172] Compiling scalarmult_curve25519.c
[68/172] Compiling ladder.S
[69/172] Compiling fe_frombytes_sandy2x.c
[70/172] Compiling fe51_pack.S
[71/172] Compiling fe51_mul.S
[72/172] Compiling fe51_nsquare.S
[73/172] Compiling consts.S
[74/172] Compiling curve25519_sandy2x.c
[75/172] Compiling fe51_invert.c
[76/172] Compiling crypto_scalarmult.c
[77/172] Compiling x25519_ref10.c
[78/172] Compiling pwhash_scryptsalsa208sha256_sse.c
[79/172] Compiling scrypt_platform.c
[80/172] Compiling pwhash_scryptsalsa208sha256.c
[81/172] Compiling pbkdf2-sha256.c
[82/172] Compiling argon2.c
[83/172] Compiling argon2-fill-block-ssse3.c
[84/172] Compiling argon2-fill-block-avx512f.c
[85/172] Compiling argon2-fill-block-avx2.c
[86/172] Compiling argon2-encoding.c
[87/172] Compiling poly1305_sse2.c
[88/172] Compiling argon2-core.c
[89/172] Compiling onetimeauth_poly1305.c
[90/172] Compiling crypto_onetimeauth.c
[91/172] Compiling argon2-fill-block-ref.c
[92/172] Compiling poly1305_donna.c
[93/172] Compiling crypto_kx.c
[94/172] Compiling kdf_hkdf_sha512.c
[95/172] Compiling crypto_kdf.c
[96/172] Compiling kdf_hkdf_sha256.c
[97/172] Compiling hash_sha512.c
[98/172] Compiling kdf_blake2b.c
[99/172] Compiling hash_sha256.c
[100/172] Compiling hash_sha256_cp.c
[101/172] Compiling crypto_hash.c
[102/172] Compiling crypto_generichash.c
[103/172] Compiling hash_sha512_cp.c
[104/172] Compiling blake2b-compress-ssse3.c
[105/172] Compiling generichash_blake2b.c
[106/172] Compiling blake2b-ref.c
[107/172] Compiling blake2b-compress-sse41.c
[108/172] Compiling blake2b-compress-avx2.c
[109/172] Compiling generichash_blake2.c
[110/172] Compiling softaes.c
[111/172] Compiling core_salsa_ref.c
[112/172] Compiling core_hsalsa20_ref2.c
[113/172] Compiling core_hsalsa20.c
[114/172] Compiling core_hchacha20.c
[115/172] Compiling blake2b-compress-ref.c
[116/172] Compiling core_ed25519.c
[117/172] Compiling core_ristretto255.c
[118/172] Compiling box_curve25519xsalsa20poly1305.c
[119/172] Compiling box_seal_curve25519xchacha20poly1305.c
[120/172] Compiling box_curve25519xchacha20poly1305.c
[122/172] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[123/172] Compiling InternalCollectionsUtilities Specialize.swift
[124/172] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[124/173] Compiling crypto_box_seal.c
[126/173] Compiling InternalCollectionsUtilities Debugging.swift
[127/173] Compiling InternalCollectionsUtilities Descriptions.swift
[128/173] Compiling InternalCollectionsUtilities _SortedCollection.swift
[128/173] Compiling crypto_box_easy.c
[128/173] Compiling crypto_box.c
[129/173] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[132/173] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[133/173] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[133/173] Compiling auth_hmacsha512256.c
[134/173] Compiling auth_hmacsha512.c
[135/173] Compiling auth_hmacsha256.c
[136/173] Compiling crypto_auth.c
[138/173] Compiling InternalCollectionsUtilities UInt+reversed.swift
[139/173] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[140/173] Emitting module _NIOBase64
[141/173] Compiling _NIOBase64 Base64.swift
[141/173] Compiling aead_xchacha20poly1305.c
[142/173] Compiling aead_chacha20poly1305.c
[143/173] Compiling aead_aes256gcm_aesni.c
[145/173] Emitting module _NIODataStructures
[146/173] Compiling InternalCollectionsUtilities UnsafeRawPointer extensions.swift
[147/173] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[148/173] Emitting module InternalCollectionsUtilities
[149/173] Compiling InternalCollectionsUtilities Integer rank.swift
[150/173] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[151/173] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+SE-0370.swift
[152/173] Compiling InternalCollectionsUtilities UnsafeMutablePointer+SE-0370.swift
[152/173] Compiling ed25519_ref10.c
[153/173] Compiling aead_aes256gcm.c
[155/173] Compiling _NIODataStructures PriorityQueue.swift
[156/173] Compiling _NIODataStructures Heap.swift
[157/173] Compiling _NIODataStructures _TinyArray.swift
[158/173] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[158/173] Compiling aegis256_soft.c
[159/173] Compiling CNIOWindows shim.c
[160/173] Compiling aegis128l_aesni.c
[161/173] Compiling aead_aes256gcm_armcrypto.c
[161/173] Compiling aead_aegis256.c
[163/173] Compiling CNIOWindows WSAStartup.c
[164/173] Write sources
[165/173] Compiling aegis128l_soft.c
[166/173] Compiling CNIOLinux shim.c
[167/173] Compiling aegis128l_armcrypto.c
[168/173] Compiling aead_aegis128l.c
[169/173] Compiling CNIOLinux liburing_shims.c
[171/221] Compiling Atomics Primitives.shims.swift
[172/221] Compiling Atomics AtomicInteger.swift
[173/222] Compiling DequeModule _DequeSlot.swift
[174/222] Compiling DequeModule _DequeBufferHeader.swift
[175/222] Compiling Atomics UnsafeAtomic.swift
[176/222] Compiling Atomics UnsafeAtomicLazyReference.swift
[177/222] Compiling SodiumCore XChaCha20Poly1305.swift
[178/222] Compiling SodiumCore XSalsa20Poly1305.swift
[179/222] Compiling SodiumCore Sodium.swift
[180/222] Compiling DequeModule _UnsafeWrappedBuffer.swift
[181/223] Compiling SodiumCore Sodium+DataProtocol_Random.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "sodium.h"
        ^
[182/223] Compiling SodiumCore Sodium+Error.swift
[183/223] Compiling SodiumCore Sodium+Data.swift
[184/223] Compiling SodiumCore Sodium+DataProtocol.swift
[185/223] Compiling SodiumCore DataSize.swift
[188/223] Compiling SodiumCore AEADCipher.swift
[189/223] Compiling SodiumCore Cipher.swift
[190/223] Emitting module SodiumCore
[191/223] Compiling SodiumCore Sodium+DataProtocol_Base64.swift
[191/223] Compiling CNIODarwin shim.c
[193/223] Compiling Atomics AtomicMemoryOrderings.swift
[194/223] Compiling Atomics DoubleWord.swift
[195/223] Compiling Atomics AtomicStorage.swift
[196/223] Compiling Atomics AtomicValue.swift
[199/223] Compiling Atomics PointerConformances.swift
[200/223] Compiling Atomics Primitives.native.swift
[201/223] Compiling SodiumCore SymmetricKey.swift
[202/223] Emitting module DequeModule
[203/235] Compiling SodiumSecretStream SecretStreamCipher.swift
[204/235] Compiling SodiumSecretBox SecretBox.swift
[205/235] Emitting module SodiumSecretStream
[206/235] Compiling SodiumSecretStream SecretStreamTag.swift
[207/235] Compiling SodiumSecretStream SecretStream.swift
[208/235] Compiling SodiumSecretBox SodiumSecretBox.swift
[209/235] Compiling SodiumSecretBox SecretBoxCipher.swift
[210/235] Emitting module SodiumSecretBox
[211/235] Compiling SodiumSecretBox SecretBoxXSalsa20Poly1305.swift
[212/235] Compiling SodiumSecretBox SecretBoxXChaCha20Poly1305.swift
[213/235] Compiling SodiumSecretStream SodiumSecretStream.swift
[214/235] Compiling SodiumSecretStream SecretStreamXChaCha20Poly1305.swift
[215/237] Compiling Atomics ManagedAtomic.swift
[216/237] Compiling Atomics ManagedAtomicLazyReference.swift
[219/237] Compiling Atomics AtomicOptionalWrappable.swift
[220/237] Compiling Atomics AtomicReference.swift
[225/239] Emitting module Sodium
[226/239] Compiling Sodium Sodium.swift
[227/242] Compiling Atomics IntegerOperations.swift
[228/242] Compiling Atomics Unmanaged extensions.swift
[232/242] Compiling c-nioatomics.c
[238/242] Emitting module Atomics
[238/242] Compiling c-atomics.c
[240/248] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[241/248] Compiling NIOConcurrencyHelpers lock.swift
[242/248] Compiling NIOConcurrencyHelpers NIOLock.swift
[243/248] Emitting module NIOConcurrencyHelpers
[244/248] Compiling NIOConcurrencyHelpers atomics.swift
[245/248] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[246/307] Compiling NIOCore GlobalSingletons.swift
[247/307] Compiling NIOCore IO.swift
[248/307] Compiling NIOCore IOData.swift
[249/307] Compiling NIOCore IPProtocol.swift
[250/307] Compiling NIOCore IntegerBitPacking.swift
[251/307] Compiling NIOCore IntegerTypes.swift
[252/307] Compiling NIOCore DeadChannel.swift
[253/307] Compiling NIOCore DispatchQueue+WithFuture.swift
[254/307] Compiling NIOCore EventLoop+Deprecated.swift
[255/307] Compiling NIOCore EventLoop+SerialExecutor.swift
[256/307] Compiling NIOCore EventLoop.swift
[257/307] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[258/313] Compiling NIOCore EventLoopFuture+Deprecated.swift
[259/313] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[260/313] Compiling NIOCore EventLoopFuture.swift
[261/313] Compiling NIOCore FileDescriptor.swift
[262/313] Compiling NIOCore FileHandle.swift
[263/313] Compiling NIOCore FileRegion.swift
[264/313] Compiling NIOCore NIOLoopBound.swift
[265/313] Compiling NIOCore NIOSendable.swift
[266/313] Compiling NIOCore PointerHelpers.swift
[267/313] Compiling NIOCore RecvByteBufferAllocator.swift
[268/313] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[269/313] Compiling NIOCore SocketAddresses.swift
[270/313] Compiling NIOCore AddressedEnvelope.swift
[271/313] Compiling NIOCore AsyncAwaitSupport.swift
[272/313] Compiling NIOCore AsyncChannel.swift
[273/313] Compiling NIOCore AsyncChannelHandler.swift
[274/313] Compiling NIOCore AsyncChannelInboundStream.swift
[275/313] Compiling NIOCore AsyncChannelOutboundWriter.swift
[276/313] Compiling NIOCore NIOAsyncSequenceProducer.swift
[277/313] Compiling SodiumFoundationCompat SodiumFoundationCompat.swift
[278/313] Emitting module SodiumFoundationCompat
[279/313] Compiling SodiumFoundationCompat Data+Sodium.swift
[280/313] Compiling NIOCore SocketOptionProvider.swift
[281/313] Compiling NIOCore SystemCallHelpers.swift
[282/313] Compiling NIOCore TimeAmount+Duration.swift
[283/313] Compiling NIOCore TypeAssistedChannelHandler.swift
[284/313] Compiling NIOCore UniversalBootstrapSupport.swift
[285/313] Compiling NIOCore Utilities.swift
[286/313] Compiling NIOCore ChannelHandlers.swift
[287/313] Compiling NIOCore ChannelInvoker.swift
[288/313] Compiling NIOCore ChannelOption.swift
[289/313] Compiling NIOCore ChannelPipeline.swift
[290/313] Compiling NIOCore CircularBuffer.swift
[291/313] Compiling NIOCore Codec.swift
[292/313] Compiling NIOCore ConvenienceOptionSupport.swift
[293/313] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[294/313] Compiling NIOCore NIOAsyncWriter.swift
[295/313] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[296/313] Compiling NIOCore BSDSocketAPI.swift
[297/313] Compiling NIOCore ByteBuffer-aux.swift
[298/313] Compiling NIOCore ByteBuffer-conversions.swift
[299/313] Compiling NIOCore ByteBuffer-core.swift
[300/313] Compiling NIOCore Interfaces.swift
[301/313] Compiling NIOCore Linux.swift
[302/313] Compiling NIOCore MarkedCircularBuffer.swift
[303/313] Compiling NIOCore MulticastChannel.swift
[304/313] Compiling NIOCore NIOAny.swift
[305/313] Compiling NIOCore NIOCloseOnErrorHandler.swift
[306/313] Compiling NIOCore ByteBuffer-hexdump.swift
[307/313] Compiling NIOCore ByteBuffer-int.swift
[308/313] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[309/313] Compiling NIOCore ByteBuffer-multi-int.swift
[310/313] Compiling NIOCore ByteBuffer-views.swift
[311/313] Compiling NIOCore Channel.swift
[312/313] Compiling NIOCore ChannelHandler.swift
[313/313] Emitting module NIOCore
[314/316] Compiling SodiumNIOCompat SodiumNIOCompat.swift
[315/316] Compiling SodiumNIOCompat ByteBufferView+Sodium.swift
[316/316] Emitting module SodiumNIOCompat
Build complete! (10.35s)
Build complete.
Done.