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-srp, reference main (ce202c), with Swift 6.0 for macOS (SPM) on 2 Dec 2024 09:20:29 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -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

Build Log

========================================
RunAll
========================================
Builder version: 4.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/adam-fowler/swift-srp.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/adam-fowler/swift-srp
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at ce202c4 Make SRPKeyPair.init public
Cloned https://github.com/adam-fowler/swift-srp.git
Revision (git rev-parse @):
ce202c48f8ca68f44b71732f945eb8221d6fe135
SUCCESS checkout https://github.com/adam-fowler/swift-srp.git at main
Fetching https://github.com/apple/swift-crypto
Fetching https://github.com/adam-fowler/big-num
[1/857] Fetching big-num
[164/12091] Fetching big-num, swift-crypto
Fetched https://github.com/adam-fowler/big-num from cache (1.82s)
Fetched https://github.com/apple/swift-crypto from cache (1.82s)
Computing version for https://github.com/adam-fowler/big-num
Computed https://github.com/adam-fowler/big-num at 2.0.2 (0.58s)
Computing version for https://github.com/apple/swift-crypto
Computed https://github.com/apple/swift-crypto at 3.10.0 (0.98s)
Fetching https://github.com/apple/swift-asn1.git
[1/1418] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.97s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.3.0 (0.68s)
Creating working copy for https://github.com/apple/swift-crypto
Working copy of https://github.com/apple/swift-crypto resolved at 3.10.0
Creating working copy for https://github.com/adam-fowler/big-num
Working copy of https://github.com/adam-fowler/big-num resolved at 2.0.2
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.3.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-srp",
      "name": "swift-srp",
      "url": "https://github.com/adam-fowler/swift-srp.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-srp",
      "dependencies": [
        {
          "identity": "swift-crypto",
          "name": "swift-crypto",
          "url": "https://github.com/apple/swift-crypto",
          "version": "3.10.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-crypto",
          "dependencies": [
            {
              "identity": "swift-asn1",
              "name": "swift-asn1",
              "url": "https://github.com/apple/swift-asn1.git",
              "version": "1.3.0",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-asn1",
              "dependencies": [
              ]
            }
          ]
        },
        {
          "identity": "big-num",
          "name": "big-num",
          "url": "https://github.com/adam-fowler/big-num",
          "version": "2.0.2",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/big-num",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/adam-fowler/swift-srp.git
[1/410] Fetching swift-srp
Fetched https://github.com/adam-fowler/swift-srp.git from cache (0.78s)
Fetching https://github.com/apple/swift-crypto from cache
Fetching https://github.com/adam-fowler/big-num from cache
Fetched https://github.com/adam-fowler/big-num from cache (0.52s)
Fetched https://github.com/apple/swift-crypto from cache (0.60s)
Computing version for https://github.com/adam-fowler/big-num
Computed https://github.com/adam-fowler/big-num at 2.0.2 (0.02s)
Computing version for https://github.com/apple/swift-crypto
Computed https://github.com/apple/swift-crypto at 3.10.0 (0.02s)
Fetching https://github.com/apple/swift-asn1.git from cache
Fetched https://github.com/apple/swift-asn1.git from cache (0.46s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.3.0 (0.02s)
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-crypto
Working copy of https://github.com/apple/swift-crypto resolved at 3.10.0
Creating working copy for https://github.com/adam-fowler/swift-srp.git
Working copy of https://github.com/adam-fowler/swift-srp.git resolved at main (ce202c4)
Creating working copy for https://github.com/adam-fowler/big-num
Working copy of https://github.com/adam-fowler/big-num resolved at 2.0.2
warning: '.resolve-product-dependencies': dependency 'swift-srp' is not used by any target
Found 2 product dependencies
  - swift-crypto
  - big-num
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/adam-fowler/swift-srp.git
{
  "dependencies" : [
    {
      "identity" : "swift-crypto",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-crypto"
    },
    {
      "identity" : "big-num",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/adam-fowler/big-num"
    }
  ],
  "manifest_display_name" : "swift-srp",
  "name" : "swift-srp",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "SRP",
      "targets" : [
        "SRP"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SRPTests",
      "module_type" : "SwiftTarget",
      "name" : "SRPTests",
      "path" : "Tests/SRPTests",
      "sources" : [
        "SRPTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "SRP"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SRP",
      "module_type" : "SwiftTarget",
      "name" : "SRP",
      "path" : "Sources/SRP",
      "product_dependencies" : [
        "BigNum",
        "Crypto"
      ],
      "product_memberships" : [
        "SRP"
      ],
      "sources" : [
        "Array.swift",
        "client.swift",
        "configuration.swift",
        "error.swift",
        "keys.swift",
        "server.swift",
        "srp.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/152] Write sources
[3/152] Copying PrivacyInfo.xcprivacy
[4/152] Write swift-version--7754E27361AE5C74.txt
[5/152] Compiling thread.c
[6/152] Compiling thread_pthread.c
[7/152] Compiling thread_win.c
[8/152] Compiling thread_none.c
[9/152] Compiling asn1_compat.c
[9/152] Compiling ber.c
[11/152] Compiling file.c
[12/152] Compiling convert.c
[13/152] Compiling cbb.c
[14/152] Compiling bio.c
[15/225] Compiling fuchsia.c
[16/225] Compiling windows.c
[17/225] Compiling forkunsafe.c
[18/225] Compiling rand_extra.c
[19/225] Compiling refcount_lock.c
[20/225] Compiling deterministic.c
[21/225] Compiling passive.c
[22/225] Compiling stack.c
[23/225] Compiling x86_64-mont5.mac.x86_64.S
[24/225] Compiling x86_64-mont5.linux.x86_64.S
[25/225] Compiling x86_64-mont.mac.x86_64.S
[26/225] Compiling x86_64-mont.linux.x86_64.S
[27/225] Compiling mem.c
[28/225] Compiling refcount_c11.c
[29/225] Compiling vpaes-x86_64.mac.x86_64.S
[30/225] Compiling x86-mont.linux.x86.S
[31/225] Compiling vpaes-x86_64.linux.x86_64.S
[32/225] Compiling vpaes-x86.linux.x86.S
[33/225] Compiling vpaes-armv8.linux.aarch64.S
[34/225] Compiling vpaes-armv8.ios.aarch64.S
[35/225] Compiling vpaes-armv7.linux.arm.S
[36/225] Compiling vpaes-armv7.ios.arm.S
[37/225] Compiling sha512-x86_64.mac.x86_64.S
[38/225] Compiling sha512-armv4.linux.arm.S
[39/225] Compiling sha512-armv8.linux.aarch64.S
[40/225] Compiling sha512-armv4.ios.arm.S
[41/225] Compiling sha512-x86_64.linux.x86_64.S
[42/225] Compiling sha512-586.linux.x86.S
[43/225] Compiling sha512-armv8.ios.aarch64.S
[44/225] Compiling sha256-x86_64.mac.x86_64.S
[45/225] Compiling sha256-x86_64.linux.x86_64.S
[46/225] Compiling sha256-armv8.linux.aarch64.S
[47/225] Compiling sha256-586.linux.x86.S
[48/225] Compiling sha256-armv8.ios.aarch64.S
[49/225] Compiling sha256-armv4.linux.arm.S
[50/225] Compiling sha256-armv4.ios.arm.S
[51/225] Compiling sha1-armv8.linux.aarch64.S
[52/225] Compiling sha1-x86_64.linux.x86_64.S
[53/225] Compiling sha1-armv4-large.linux.arm.S
[54/225] Compiling sha1-x86_64.mac.x86_64.S
[55/225] Compiling sha1-armv8.ios.aarch64.S
[56/225] Compiling sha1-armv4-large.ios.arm.S
[57/225] Compiling sha1-586.linux.x86.S
[58/225] Compiling rsaz-avx2.mac.x86_64.S
[59/225] Compiling rsaz-avx2.linux.x86_64.S
[60/225] Compiling rdrand-x86_64.mac.x86_64.S
[61/225] Compiling rdrand-x86_64.linux.x86_64.S
[62/225] Compiling fork_detect.c
[63/225] Compiling rand.c
[64/225] Compiling p256_beeu-x86_64-asm.mac.x86_64.S
[65/225] Compiling p256-x86_64-asm.mac.x86_64.S
[66/225] Compiling p256_beeu-x86_64-asm.linux.x86_64.S
[67/225] Compiling ctrdrbg.c
[68/225] Compiling p256-x86_64-asm.linux.x86_64.S
[69/225] Compiling polyval.c
[70/225] Compiling ofb.c
[71/225] Compiling gcm_nohw.c
[72/225] Compiling gcm.c
[73/225] Compiling md5-x86_64.mac.x86_64.S
[74/225] Compiling cfb.c
[75/225] Compiling md5-x86_64.linux.x86_64.S
[76/225] Compiling cbc.c
[77/225] Compiling md5-586.linux.x86.S
[78/225] Compiling ctr.c
[79/225] Compiling ghashv8-armx64.linux.aarch64.S
[80/225] Compiling ghashv8-armx64.ios.aarch64.S
[81/225] Compiling ghashv8-armx32.linux.arm.S
[82/225] Compiling ghashv8-armx32.ios.arm.S
[83/225] Compiling ghash-x86.linux.x86.S
[83/225] Compiling ghash-x86_64.mac.x86_64.S
[85/225] Compiling ghash-x86_64.linux.x86_64.S
[86/225] Compiling ghash-ssse3-x86_64.mac.x86_64.S
[87/225] Compiling ghash-ssse3-x86_64.linux.x86_64.S
[88/225] Compiling ghash-ssse3-x86.linux.x86.S
[89/225] Compiling ghash-neon-armv8.ios.aarch64.S
[90/225] Compiling ghash-neon-armv8.linux.aarch64.S
[91/225] Compiling ghash-armv4.linux.arm.S
[92/225] Compiling ghash-armv4.ios.arm.S
[93/225] Compiling co-586.linux.x86.S
[94/225] Compiling bsaes-armv7.linux.arm.S
[95/225] Compiling bsaes-armv7.ios.arm.S
[96/225] Compiling cipher.c
[97/225] Compiling e_aes.c
[98/225] Compiling sqrt.c
[99/225] Compiling rsaz_exp.c
[100/225] Compiling shift.c
[101/225] Compiling random.c
[102/225] Compiling prime.c
[103/225] Compiling mul.c
[104/225] Compiling montgomery_inv.c
[105/225] Compiling jacobi.c
[106/225] Compiling montgomery.c
[107/225] Compiling gcd.c
[107/225] Compiling gcd_extra.c
[109/225] Compiling generic.c
[110/225] Compiling div_extra.c
[111/225] Compiling exponentiation.c
[112/225] Compiling ctx.c
[113/225] Compiling cmp.c
[114/225] Compiling div.c
[115/225] Compiling x86_64-gcc.c
[116/225] Compiling bytes.c
[117/225] Compiling bn.c
[118/225] Compiling bn-586.linux.x86.S
[119/225] Compiling add.c
[120/225] Compiling armv8-mont.linux.aarch64.S
[121/225] Compiling armv8-mont.ios.aarch64.S
[122/225] Compiling armv4-mont.linux.arm.S
[123/225] Compiling armv4-mont.ios.arm.S
[124/225] Compiling aesv8-armx64.linux.aarch64.S
[125/225] Compiling aesv8-armx64.ios.aarch64.S
[126/225] Compiling aesv8-armx32.linux.arm.S
[127/225] Compiling aesv8-armx32.ios.arm.S
[128/225] Compiling aesni-x86_64.mac.x86_64.S
[129/225] Compiling aesni-x86.linux.x86.S
[130/225] Compiling aesni-x86_64.linux.x86_64.S
[131/225] Compiling aesni-gcm-x86_64.mac.x86_64.S
[132/225] Compiling aesni-gcm-x86_64.linux.x86_64.S
[133/225] Compiling mode_wrappers.c
[134/225] Compiling urandom.c
[135/225] Compiling key_wrap.c
[136/225] Compiling err_data.c
[137/225] Compiling aes.c
[138/225] Compiling ex_data.c
[139/225] Compiling aes_nohw.c
[140/225] Compiling crypto.c
[141/225] Compiling cpu_ppc64le.c
[142/225] Compiling err.c
[143/225] Compiling cpu_intel.c
[144/225] Compiling cpu_arm_linux.c
[145/225] Compiling cpu_arm.c
[146/225] Compiling cpu_aarch64_linux.c
[147/225] Compiling cpu_aarch64_win.c
[148/225] Compiling cpu_aarch64_fuchsia.c
[149/225] Compiling unicode.c
[150/225] Compiling cpu_aarch64_apple.c
[151/225] Compiling cbs.c
[153/227] Emitting module BigNum
[154/227] Compiling BigNum BigNum.swift
[155/227] Emitting module Crypto
[156/235] Compiling Crypto AES.swift
[157/235] Compiling Crypto ECDSASignature_boring.swift
[158/235] Compiling Crypto ECDSA_boring.swift
[159/235] Compiling Crypto EdDSA_boring.swift
[160/235] Compiling Crypto ECDSA.swift
[161/235] Compiling Crypto Ed25519.swift
[162/235] Compiling Crypto Signature.swift
[163/235] Compiling Crypto CryptoKitErrors_boring.swift
[164/235] Compiling Crypto HPKE-KexKeyDerivation.swift
[165/235] Compiling Crypto HPKE-LabeledExtract.swift
[166/235] Compiling Crypto HPKE-Utils.swift
[167/235] Compiling Crypto DHKEM.swift
[168/235] Compiling Crypto HPKE-KEM-Curve25519.swift
[169/235] Compiling Crypto HPKE-NIST-EC-KEMs.swift
[170/235] Compiling Crypto HPKE-KEM.swift
[171/235] Compiling Crypto HPKE-Errors.swift
[172/235] Compiling Crypto AES-GCM.swift
[173/235] Compiling Crypto AES-GCM_boring.swift
[174/235] Compiling Crypto ChaChaPoly_boring.swift
[175/235] Compiling Crypto ChaChaPoly.swift
[176/235] Compiling Crypto Cipher.swift
[177/235] Compiling Crypto Nonces.swift
[178/235] Compiling Crypto ASN1.swift
[179/235] Compiling Crypto ASN1Any.swift
[180/235] Compiling Crypto GeneralizedTime.swift
[181/235] Compiling Crypto ObjectIdentifier.swift
[182/235] Compiling Crypto ECDSASignature.swift
[183/235] Compiling Crypto PEMDocument.swift
[184/235] Compiling Crypto PKCS8PrivateKey.swift
[185/235] Compiling Crypto SEC1PrivateKey.swift
[186/235] Compiling Crypto SubjectPublicKeyInfo.swift
[187/235] Compiling Crypto CryptoKitErrors.swift
[188/235] Compiling Crypto Digest_boring.swift
[189/235] Compiling Crypto Digest.swift
[190/235] Compiling Crypto Digests.swift
[191/235] Compiling Crypto HashFunctions.swift
[192/235] Compiling Crypto HashFunctions_SHA2.swift
[193/235] Compiling Crypto HPKE-AEAD.swift
[194/235] Compiling Crypto HPKE-Ciphersuite.swift
[195/235] Compiling Crypto HPKE-KDF.swift
[196/235] Compiling Crypto ASN1BitString.swift
[197/235] Compiling Crypto ASN1Boolean.swift
[198/235] Compiling Crypto ASN1Identifier.swift
[199/235] Compiling Crypto ASN1Integer.swift
[200/235] Compiling Crypto ASN1Null.swift
[201/235] Compiling Crypto ASN1OctetString.swift
[202/235] Compiling Crypto ASN1Strings.swift
[203/235] Compiling Crypto ArraySliceBigint.swift
[204/235] Compiling Crypto HPKE.swift
[205/235] Compiling Crypto HPKE-Context.swift
[206/235] Compiling Crypto HPKE-KeySchedule.swift
[207/235] Compiling Crypto HPKE-Modes.swift
[208/235] Compiling Crypto Insecure.swift
[209/235] Compiling Crypto Insecure_HashFunctions.swift
[210/235] Compiling Crypto KEM.swift
[211/235] Compiling Crypto ECDH_boring.swift
[212/235] Compiling Crypto Curve25519.swift
[213/235] Compiling Crypto Ed25519Keys.swift
[214/235] Compiling Crypto NISTCurvesKeys.swift
[215/235] Compiling Crypto X25519Keys.swift
[216/235] Compiling Crypto SymmetricKeys.swift
[217/235] Compiling Crypto HMAC.swift
[218/235] Compiling Crypto MACFunctions.swift
[219/235] Compiling Crypto MessageAuthenticationCode.swift
[220/235] Compiling Crypto DH.swift
[221/235] Compiling Crypto ECDH.swift
[222/235] Compiling Crypto HKDF.swift
[223/235] Compiling Crypto AESWrap.swift
[224/235] Compiling Crypto AESWrap_boring.swift
[225/235] Compiling Crypto Ed25519_boring.swift
[226/235] Compiling Crypto NISTCurvesKeys_boring.swift
[227/235] Compiling Crypto X25519Keys_boring.swift
[228/235] Compiling Crypto RNG_boring.swift
[229/235] Compiling Crypto SafeCompare_boring.swift
[230/235] Compiling Crypto Zeroization_boring.swift
[231/235] Compiling Crypto PrettyBytes.swift
[232/235] Compiling Crypto SafeCompare.swift
[233/235] Compiling Crypto SecureBytes.swift
[234/235] Compiling Crypto Zeroization.swift
[235/235] Compiling Crypto resource_bundle_accessor.swift
[236/243] Compiling SRP srp.swift
[237/243] Compiling SRP server.swift
[238/243] Compiling SRP keys.swift
[239/243] Compiling SRP error.swift
[240/243] Compiling SRP configuration.swift
[241/243] Compiling SRP Array.swift
[242/243] Emitting module SRP
[243/243] Compiling SRP client.swift
Build complete! (23.50s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-crypto",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-crypto"
    },
    {
      "identity" : "big-num",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/adam-fowler/big-num"
    }
  ],
  "manifest_display_name" : "swift-srp",
  "name" : "swift-srp",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "SRP",
      "targets" : [
        "SRP"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SRPTests",
      "module_type" : "SwiftTarget",
      "name" : "SRPTests",
      "path" : "Tests/SRPTests",
      "sources" : [
        "SRPTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "SRP"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SRP",
      "module_type" : "SwiftTarget",
      "name" : "SRP",
      "path" : "Sources/SRP",
      "product_dependencies" : [
        "BigNum",
        "Crypto"
      ],
      "product_memberships" : [
        "SRP"
      ],
      "sources" : [
        "Array.swift",
        "client.swift",
        "configuration.swift",
        "error.swift",
        "keys.swift",
        "server.swift",
        "srp.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Done.