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.9 for macOS (Xcode) using Xcode 15.2 on 15 Aug 2024 14:52:00 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme swift-sodium-Package -destination platform=macOS,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
========================================
Build
========================================
Selected platform:         macosXcodebuild
Swift version:             5.9
Building package at path:  $PWD
https://github.com/sinoru/swift-sodium.git
Command line invocation:
    /Applications/Xcode-15.2.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
User defaults from command line:
    IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
    IDEPackageSupportUseBuiltinSCM = YES
Resolve Package Graph
Fetching from https://github.com/apple/swift-nio
Fetching from https://github.com/apple/swift-system.git
Fetching from https://github.com/apple/swift-collections.git
Fetching from https://github.com/apple/swift-atomics.git
Creating working copy of package ‘swift-system’
Checking out 1.3.2 of package ‘swift-system’
Creating working copy of package ‘swift-collections’
Checking out 1.1.2 of package ‘swift-collections’
Creating working copy of package ‘swift-nio’
Checking out 2.70.0 of package ‘swift-nio’
Creating working copy of package ‘swift-atomics’
Checking out 1.2.0 of package ‘swift-atomics’
Resolve Package Graph
Resolved source packages:
  swift-sodium: /Users/admin/builder/spi-builder-workspace
  swift-system: https://github.com/apple/swift-system.git @ 1.3.2
  swift-atomics: https://github.com/apple/swift-atomics.git @ 1.2.0
  swift-collections: https://github.com/apple/swift-collections.git @ 1.1.2
  swift-nio: https://github.com/apple/swift-nio @ 2.70.0
resolved source packages: swift-sodium, swift-system, swift-atomics, swift-collections, swift-nio
{
  "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"
    }
  ],
  "manifest_display_name" : "swift-sodium",
  "name" : "swift-sodium",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Sodium",
      "targets" : [
        "Sodium"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SodiumFoundationCompat",
      "targets" : [
        "SodiumFoundationCompat"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SodiumNIOCompat",
      "targets" : [
        "SodiumNIOCompat"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Clibsodium",
      "targets" : [
        "Clibsodium"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SodiumSecretStreamTests",
      "module_type" : "SwiftTarget",
      "name" : "SodiumSecretStreamTests",
      "path" : "Tests/SodiumSecretStreamTests",
      "sources" : [
        "SecretStreamTests.swift"
      ],
      "target_dependencies" : [
        "SodiumSecretStream"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SodiumSecretStream",
      "module_type" : "SwiftTarget",
      "name" : "SodiumSecretStream",
      "path" : "Sources/SodiumSecretStream",
      "product_memberships" : [
        "Sodium",
        "SodiumFoundationCompat",
        "SodiumNIOCompat"
      ],
      "sources" : [
        "SecretStream.swift",
        "SecretStreamCipher.swift",
        "SecretStreamTag.swift",
        "SecretStreamXChaCha20Poly1305.swift",
        "SodiumSecretStream.swift"
      ],
      "target_dependencies" : [
        "SodiumCore"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SodiumSecretBoxTests",
      "module_type" : "SwiftTarget",
      "name" : "SodiumSecretBoxTests",
      "path" : "Tests/SodiumSecretBoxTests",
      "sources" : [
        "SecretBoxTests.swift"
      ],
      "target_dependencies" : [
        "SodiumSecretBox"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SodiumSecretBox",
      "module_type" : "SwiftTarget",
      "name" : "SodiumSecretBox",
      "path" : "Sources/SodiumSecretBox",
      "product_memberships" : [
        "Sodium",
        "SodiumFoundationCompat",
        "SodiumNIOCompat"
      ],
      "sources" : [
        "SecretBox.swift",
        "SecretBoxCipher.swift",
        "SecretBoxXChaCha20Poly1305.swift",
        "SecretBoxXSalsa20Poly1305.swift",
        "SodiumSecretBox.swift"
      ],
      "target_dependencies" : [
        "SodiumCore"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SodiumNIOCompat",
      "module_type" : "SwiftTarget",
      "name" : "SodiumNIOCompat",
      "path" : "Sources/SodiumNIOCompat",
      "product_dependencies" : [
        "NIOCore"
      ],
      "product_memberships" : [
        "SodiumNIOCompat"
      ],
      "sources" : [
        "ByteBufferView+Sodium.swift",
        "SodiumNIOCompat.swift"
      ],
      "target_dependencies" : [
        "Sodium"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SodiumFoundationCompat",
      "module_type" : "SwiftTarget",
      "name" : "SodiumFoundationCompat",
      "path" : "Sources/SodiumFoundationCompat",
      "product_memberships" : [
        "SodiumFoundationCompat"
      ],
      "sources" : [
        "Data+Sodium.swift",
        "SodiumFoundationCompat.swift"
      ],
      "target_dependencies" : [
        "Sodium"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SodiumCoreTests",
      "module_type" : "SwiftTarget",
      "name" : "SodiumCoreTests",
      "path" : "Tests/SodiumCoreTests",
      "sources" : [
        "SodiumTests+DataProtocol_Base64.swift",
        "SodiumTests+DataProtocol_Random.swift",
        "SodiumTests.swift"
      ],
      "target_dependencies" : [
        "SodiumCore"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SodiumCore",
      "module_type" : "SwiftTarget",
      "name" : "SodiumCore",
      "path" : "Sources/SodiumCore",
      "product_memberships" : [
        "Sodium",
        "SodiumFoundationCompat",
        "SodiumNIOCompat"
      ],
      "sources" : [
        "Ciphers/AEADCipher.swift",
        "Ciphers/Cipher.swift",
        "Ciphers/XChaCha20Poly1305.swift",
        "Ciphers/XSalsa20Poly1305.swift",
        "DataSize.swift",
        "Sodium+Data.swift",
        "Sodium+DataProtocol.swift",
        "Sodium+DataProtocol_Base64.swift",
        "Sodium+DataProtocol_Random.swift",
        "Sodium+Error.swift",
        "Sodium.swift",
        "SymmetricKey.swift"
      ],
      "target_dependencies" : [
        "Clibsodium"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Sodium",
      "module_type" : "SwiftTarget",
      "name" : "Sodium",
      "path" : "Sources/Sodium",
      "product_memberships" : [
        "Sodium",
        "SodiumFoundationCompat",
        "SodiumNIOCompat"
      ],
      "sources" : [
        "Sodium.swift"
      ],
      "target_dependencies" : [
        "SodiumCore",
        "SodiumSecretBox",
        "SodiumSecretStream"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Clibsodium",
      "module_type" : "ClangTarget",
      "name" : "Clibsodium",
      "path" : "Sources/Clibsodium",
      "product_memberships" : [
        "Sodium",
        "SodiumFoundationCompat",
        "SodiumNIOCompat",
        "Clibsodium"
      ],
      "sources" : [
        "crypto_aead/aegis128l/aead_aegis128l.c",
        "crypto_aead/aegis128l/aegis128l_aesni.c",
        "crypto_aead/aegis128l/aegis128l_armcrypto.c",
        "crypto_aead/aegis128l/aegis128l_soft.c",
        "crypto_aead/aegis256/aead_aegis256.c",
        "crypto_aead/aegis256/aegis256_aesni.c",
        "crypto_aead/aegis256/aegis256_armcrypto.c",
        "crypto_aead/aegis256/aegis256_soft.c",
        "crypto_aead/aes256gcm/aead_aes256gcm.c",
        "crypto_aead/aes256gcm/aesni/aead_aes256gcm_aesni.c",
        "crypto_aead/aes256gcm/armcrypto/aead_aes256gcm_armcrypto.c",
        "crypto_aead/chacha20poly1305/aead_chacha20poly1305.c",
        "crypto_aead/xchacha20poly1305/aead_xchacha20poly1305.c",
        "crypto_auth/crypto_auth.c",
        "crypto_auth/hmacsha256/auth_hmacsha256.c",
        "crypto_auth/hmacsha512/auth_hmacsha512.c",
        "crypto_auth/hmacsha512256/auth_hmacsha512256.c",
        "crypto_box/crypto_box.c",
        "crypto_box/crypto_box_easy.c",
        "crypto_box/crypto_box_seal.c",
        "crypto_box/curve25519xchacha20poly1305/box_curve25519xchacha20poly1305.c",
        "crypto_box/curve25519xchacha20poly1305/box_seal_curve25519xchacha20poly1305.c",
        "crypto_box/curve25519xsalsa20poly1305/box_curve25519xsalsa20poly1305.c",
        "crypto_core/ed25519/core_ed25519.c",
        "crypto_core/ed25519/core_ristretto255.c",
        "crypto_core/ed25519/ref10/ed25519_ref10.c",
        "crypto_core/hchacha20/core_hchacha20.c",
        "crypto_core/hsalsa20/core_hsalsa20.c",
        "crypto_core/hsalsa20/ref2/core_hsalsa20_ref2.c",
        "crypto_core/salsa/ref/core_salsa_ref.c",
        "crypto_core/softaes/softaes.c",
        "crypto_generichash/blake2b/generichash_blake2.c",
        "crypto_generichash/blake2b/ref/blake2b-compress-avx2.c",
        "crypto_generichash/blake2b/ref/blake2b-compress-ref.c",
        "crypto_generichash/blake2b/ref/blake2b-compress-sse41.c",
        "crypto_generichash/blake2b/ref/blake2b-compress-ssse3.c",
        "crypto_generichash/blake2b/ref/blake2b-ref.c",
        "crypto_generichash/blake2b/ref/generichash_blake2b.c",
        "crypto_generichash/crypto_generichash.c",
        "crypto_hash/crypto_hash.c",
        "crypto_hash/sha256/cp/hash_sha256_cp.c",
        "crypto_hash/sha256/hash_sha256.c",
        "crypto_hash/sha512/cp/hash_sha512_cp.c",
        "crypto_hash/sha512/hash_sha512.c",
        "crypto_kdf/blake2b/kdf_blake2b.c",
        "crypto_kdf/crypto_kdf.c",
        "crypto_kdf/hkdf/kdf_hkdf_sha256.c",
        "crypto_kdf/hkdf/kdf_hkdf_sha512.c",
        "crypto_kx/crypto_kx.c",
        "crypto_onetimeauth/crypto_onetimeauth.c",
        "crypto_onetimeauth/poly1305/donna/poly1305_donna.c",
        "crypto_onetimeauth/poly1305/onetimeauth_poly1305.c",
        "crypto_onetimeauth/poly1305/sse2/poly1305_sse2.c",
        "crypto_pwhash/argon2/argon2-core.c",
        "crypto_pwhash/argon2/argon2-encoding.c",
        "crypto_pwhash/argon2/argon2-fill-block-avx2.c",
        "crypto_pwhash/argon2/argon2-fill-block-avx512f.c",
        "crypto_pwhash/argon2/argon2-fill-block-ref.c",
        "crypto_pwhash/argon2/argon2-fill-block-ssse3.c",
        "crypto_pwhash/argon2/argon2.c",
        "crypto_pwhash/argon2/blake2b-long.c",
        "crypto_pwhash/argon2/pwhash_argon2i.c",
        "crypto_pwhash/argon2/pwhash_argon2id.c",
        "crypto_pwhash/crypto_pwhash.c",
        "crypto_pwhash/scryptsalsa208sha256/crypto_scrypt-common.c",
        "crypto_pwhash/scryptsalsa208sha256/nosse/pwhash_scryptsalsa208sha256_nosse.c",
        "crypto_pwhash/scryptsalsa208sha256/pbkdf2-sha256.c",
        "crypto_pwhash/scryptsalsa208sha256/pwhash_scryptsalsa208sha256.c",
        "crypto_pwhash/scryptsalsa208sha256/scrypt_platform.c",
        "crypto_pwhash/scryptsalsa208sha256/sse/pwhash_scryptsalsa208sha256_sse.c",
        "crypto_scalarmult/crypto_scalarmult.c",
        "crypto_scalarmult/curve25519/ref10/x25519_ref10.c",
        "crypto_scalarmult/curve25519/sandy2x/consts.S",
        "crypto_scalarmult/curve25519/sandy2x/curve25519_sandy2x.c",
        "crypto_scalarmult/curve25519/sandy2x/fe51_invert.c",
        "crypto_scalarmult/curve25519/sandy2x/fe51_mul.S",
        "crypto_scalarmult/curve25519/sandy2x/fe51_nsquare.S",
        "crypto_scalarmult/curve25519/sandy2x/fe51_pack.S",
        "crypto_scalarmult/curve25519/sandy2x/fe_frombytes_sandy2x.c",
        "crypto_scalarmult/curve25519/sandy2x/ladder.S",
        "crypto_scalarmult/curve25519/sandy2x/sandy2x.S",
        "crypto_scalarmult/curve25519/scalarmult_curve25519.c",
        "crypto_scalarmult/ed25519/ref10/scalarmult_ed25519_ref10.c",
        "crypto_scalarmult/ristretto255/ref10/scalarmult_ristretto255_ref10.c",
        "crypto_secretbox/crypto_secretbox.c",
        "crypto_secretbox/crypto_secretbox_easy.c",
        "crypto_secretbox/xchacha20poly1305/secretbox_xchacha20poly1305.c",
        "crypto_secretbox/xsalsa20poly1305/secretbox_xsalsa20poly1305.c",
        "crypto_secretstream/xchacha20poly1305/secretstream_xchacha20poly1305.c",
        "crypto_shorthash/crypto_shorthash.c",
        "crypto_shorthash/siphash24/ref/shorthash_siphash24_ref.c",
        "crypto_shorthash/siphash24/ref/shorthash_siphashx24_ref.c",
        "crypto_shorthash/siphash24/shorthash_siphash24.c",
        "crypto_shorthash/siphash24/shorthash_siphashx24.c",
        "crypto_sign/crypto_sign.c",
        "crypto_sign/ed25519/ref10/keypair.c",
        "crypto_sign/ed25519/ref10/obsolete.c",
        "crypto_sign/ed25519/ref10/open.c",
        "crypto_sign/ed25519/ref10/sign.c",
        "crypto_sign/ed25519/sign_ed25519.c",
        "crypto_stream/chacha20/dolbeau/chacha20_dolbeau-avx2.c",
        "crypto_stream/chacha20/dolbeau/chacha20_dolbeau-ssse3.c",
        "crypto_stream/chacha20/ref/chacha20_ref.c",
        "crypto_stream/chacha20/stream_chacha20.c",
        "crypto_stream/crypto_stream.c",
        "crypto_stream/salsa20/ref/salsa20_ref.c",
        "crypto_stream/salsa20/stream_salsa20.c",
        "crypto_stream/salsa20/xmm6/salsa20_xmm6-asm.S",
        "crypto_stream/salsa20/xmm6/salsa20_xmm6.c",
        "crypto_stream/salsa20/xmm6int/salsa20_xmm6int-avx2.c",
        "crypto_stream/salsa20/xmm6int/salsa20_xmm6int-sse2.c",
        "crypto_stream/salsa2012/ref/stream_salsa2012_ref.c",
        "crypto_stream/salsa2012/stream_salsa2012.c",
        "crypto_stream/salsa208/ref/stream_salsa208_ref.c",
        "crypto_stream/salsa208/stream_salsa208.c",
        "crypto_stream/xchacha20/stream_xchacha20.c",
        "crypto_stream/xsalsa20/stream_xsalsa20.c",
        "crypto_verify/verify.c",
        "randombytes/internal/randombytes_internal_random.c",
        "randombytes/randombytes.c",
        "randombytes/sysrandom/randombytes_sysrandom.c",
        "sodium/codecs.c",
        "sodium/core.c",
        "sodium/runtime.c",
        "sodium/utils.c",
        "sodium/version.c"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
{
  "workspace" : {
    "name" : "spi-builder-workspace",
    "schemes" : [
      "Clibsodium",
      "Sodium",
      "SodiumFoundationCompat",
      "SodiumNIOCompat",
      "swift-sodium-Package"
    ]
  }
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme swift-sodium-Package -destination platform=macOS,arch=arm64
Build complete.
Done.