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-embeddings, reference main (f4f49b), with Swift 6.0 for macOS (SPM) on 30 Oct 2024 17:04:22 UTC.

Swift 6 data race errors: 1

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

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jkrukowski/swift-embeddings.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/jkrukowski/swift-embeddings
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at f4f49b5 Package rename, addedd subcommand, updated Package.swift
Cloned https://github.com/jkrukowski/swift-embeddings.git
Revision (git rev-parse @):
f4f49b553ac898683a3812aaad7d1e114d28b17c
SUCCESS checkout https://github.com/jkrukowski/swift-embeddings.git at main
Fetching https://github.com/huggingface/swift-transformers.git
[1/1888] Fetching swift-transformers
Fetched https://github.com/huggingface/swift-transformers.git from cache (1.34s)
Fetching https://github.com/apple/swift-numerics
Fetching https://github.com/maiqingqiang/Jinja
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/jkrukowski/swift-safetensors
[1/238] Fetching jinja
[175/417] Fetching jinja, swift-safetensors
[286/5993] Fetching jinja, swift-safetensors, swift-numerics
[1422/18295] Fetching jinja, swift-safetensors, swift-numerics, swift-argument-parser
Fetched https://github.com/maiqingqiang/Jinja from cache (1.60s)
Fetched https://github.com/apple/swift-numerics from cache (1.60s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.60s)
Fetched https://github.com/jkrukowski/swift-safetensors from cache (1.60s)
Computing version for https://github.com/maiqingqiang/Jinja
Computed https://github.com/maiqingqiang/Jinja at 1.0.5 (0.49s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.0 (0.53s)
Computing version for https://github.com/jkrukowski/swift-safetensors.git
Computed https://github.com/jkrukowski/swift-safetensors.git at 0.0.6 (0.51s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.2 (3.50s)
Creating working copy for https://github.com/maiqingqiang/Jinja
Working copy of https://github.com/maiqingqiang/Jinja resolved at 1.0.5
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.5.0
Creating working copy for https://github.com/huggingface/swift-transformers.git
Working copy of https://github.com/huggingface/swift-transformers.git resolved at 2c68d534155b702a504541e60d8eb6e0ab395478
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.0.2
Creating working copy for https://github.com/jkrukowski/swift-safetensors
Working copy of https://github.com/jkrukowski/swift-safetensors resolved at 0.0.6
========================================
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-embeddings",
      "name": "swift-embeddings",
      "url": "https://github.com/jkrukowski/swift-embeddings.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-embeddings",
      "dependencies": [
        {
          "identity": "swift-transformers",
          "name": "swift-transformers",
          "url": "https://github.com/huggingface/swift-transformers.git",
          "version": "unspecified",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-transformers",
          "dependencies": [
            {
              "identity": "swift-argument-parser",
              "name": "swift-argument-parser",
              "url": "https://github.com/apple/swift-argument-parser.git",
              "version": "1.5.0",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-argument-parser",
              "dependencies": [
              ]
            },
            {
              "identity": "jinja",
              "name": "Jinja",
              "url": "https://github.com/maiqingqiang/Jinja",
              "version": "1.0.5",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Jinja",
              "dependencies": [
              ]
            }
          ]
        },
        {
          "identity": "swift-safetensors",
          "name": "swift-safetensors",
          "url": "https://github.com/jkrukowski/swift-safetensors.git",
          "version": "0.0.6",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-safetensors",
          "dependencies": [
          ]
        },
        {
          "identity": "swift-argument-parser",
          "name": "swift-argument-parser",
          "url": "https://github.com/apple/swift-argument-parser.git",
          "version": "1.5.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-argument-parser",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/jkrukowski/swift-embeddings.git
[1/39] Fetching swift-embeddings
Fetched https://github.com/jkrukowski/swift-embeddings.git from cache (0.69s)
Fetching https://github.com/huggingface/swift-transformers.git from cache
Fetched https://github.com/huggingface/swift-transformers.git from cache (0.49s)
Fetching https://github.com/apple/swift-argument-parser.git from cache
Fetching https://github.com/maiqingqiang/Jinja from cache
Fetching https://github.com/jkrukowski/swift-safetensors.git from cache
Fetched https://github.com/maiqingqiang/Jinja from cache (0.50s)
Fetched https://github.com/jkrukowski/swift-safetensors.git from cache (0.50s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.56s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.0 (0.03s)
Computing version for https://github.com/jkrukowski/swift-safetensors.git
Computed https://github.com/jkrukowski/swift-safetensors.git at 0.0.6 (0.46s)
Computing version for https://github.com/maiqingqiang/Jinja
Computed https://github.com/maiqingqiang/Jinja at 1.0.5 (0.02s)
Creating working copy for https://github.com/huggingface/swift-transformers.git
Working copy of https://github.com/huggingface/swift-transformers.git resolved at 2c68d534155b702a504541e60d8eb6e0ab395478
Creating working copy for https://github.com/jkrukowski/swift-safetensors.git
Working copy of https://github.com/jkrukowski/swift-safetensors.git resolved at 0.0.6
Creating working copy for https://github.com/jkrukowski/swift-embeddings.git
Working copy of https://github.com/jkrukowski/swift-embeddings.git resolved at main (f4f49b5)
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.5.0
Creating working copy for https://github.com/maiqingqiang/Jinja
Working copy of https://github.com/maiqingqiang/Jinja resolved at 1.0.5
Found 3 product dependencies
  - swift-transformers
  - swift-safetensors
  - swift-argument-parser
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/jkrukowski/swift-embeddings.git
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
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/25] Write sources
[6/25] Copying t5_tokenizer_config.json
[10/25] Copying gpt2_tokenizer_config.json
[11/25] Write sources
[17/25] Write embeddings-cli-entitlement.plist
[19/25] Write sources
[20/25] Compiling _NumericsShims _NumericsShims.c
[21/25] Write swift-version--7754E27361AE5C74.txt
[23/75] Compiling RealModule ApproximateEquality.swift
[24/76] Compiling RealModule Float80+Real.swift
[25/76] Compiling RealModule RealFunctions.swift
[26/76] Emitting module RealModule
[27/76] Compiling RealModule AlgebraicField.swift
[28/76] Compiling RealModule Real.swift
[29/76] Compiling RealModule Float16+Real.swift
[30/76] Compiling RealModule AugmentedArithmetic.swift
[31/76] Compiling RealModule Float+Real.swift
[32/76] Compiling RealModule ElementaryFunctions.swift
[33/76] Compiling RealModule Double+Real.swift
[34/81] Emitting module ArgumentParserToolInfo
[35/81] Compiling ArgumentParserToolInfo ToolInfo.swift
[36/120] Compiling ComplexModule ElementaryFunctions.swift
[37/120] Compiling ComplexModule Differentiable.swift
[38/120] Compiling ComplexModule Complex.swift
[39/120] Emitting module ComplexModule
[40/120] Compiling ComplexModule Arithmetic.swift
[41/122] Compiling Numerics Numerics.swift
[42/122] Emitting module Numerics
[43/124] Compiling ArgumentParser InputOrigin.swift
[44/124] Compiling ArgumentParser Name.swift
[45/124] Compiling ArgumentParser Parsed.swift
[46/124] Compiling ArgumentParser ParsedValues.swift
[47/128] Compiling ArgumentParser ArgumentHelp.swift
[48/128] Compiling ArgumentParser ArgumentVisibility.swift
[49/128] Compiling ArgumentParser CompletionKind.swift
[50/128] Compiling ArgumentParser Errors.swift
[51/128] Compiling ArgumentParser Flag.swift
[52/128] Compiling ArgumentParser CommandConfiguration.swift
[53/128] Compiling ArgumentParser CommandGroup.swift
[54/128] Compiling ArgumentParser EnumerableFlag.swift
[55/128] Compiling ArgumentParser ExpressibleByArgument.swift
[56/128] Compiling ArgumentParser ParsableArguments.swift
[57/128] Compiling ArgumentParser ParsableArgumentsValidation.swift
[58/128] Compiling ArgumentParser ParsableCommand.swift
[59/128] Compiling ArgumentParser ArgumentDecoder.swift
[60/128] Compiling ArgumentParser Platform.swift
[61/128] Compiling ArgumentParser SequenceExtensions.swift
[62/128] Compiling ArgumentParser StringExtensions.swift
[63/128] Compiling ArgumentParser Tree.swift
[64/128] Emitting module ArgumentParser
[65/128] Compiling ArgumentParser BashCompletionsGenerator.swift
[66/128] Compiling ArgumentParser CompletionsGenerator.swift
[67/128] Compiling ArgumentParser FishCompletionsGenerator.swift
[68/128] Compiling ArgumentParser ZshCompletionsGenerator.swift
[69/128] Compiling ArgumentParser Argument.swift
[70/128] Compiling Hub resource_bundle_accessor.swift
[71/128] Compiling Jinja Utilities.swift
[72/128] Compiling Jinja Environment.swift
[73/128] Compiling Jinja Template.swift
[74/128] Compiling Jinja Lexer.swift
[75/128] Emitting module Jinja
[76/128] Compiling Jinja Ast.swift
[77/128] Compiling Hub Hub.swift
[78/128] Emitting module Hub
[79/128] Compiling Hub HubApi.swift
[80/128] Compiling Hub Downloader.swift
[81/128] Compiling Safetensors TensorData.swift
[82/129] Compiling Jinja Error.swift
[83/129] Compiling Jinja StringExtension.swift
[84/129] Compiling Safetensors Utils.swift
[85/129] Compiling Jinja Parser.swift
[86/129] Compiling Jinja Runtime.swift
[87/129] Compiling TensorUtils LogitsProcessor.swift
[88/129] Compiling TensorUtils LogitsWarper.swift
[89/129] Compiling TensorUtils RepetitionPenaltyWarper.swift
[90/141] Compiling TensorUtils TopPLogitsWarper.swift
[91/141] Compiling Tokenizers ByteEncoder.swift
[92/141] Compiling Tokenizers Decoder.swift
[93/141] Compiling Tokenizers BPETokenizer.swift
[94/141] Compiling Tokenizers BertTokenizer.swift
[95/141] Compiling ArgumentParser ArgumentDefinition.swift
[96/141] Compiling ArgumentParser ArgumentSet.swift
[97/141] Compiling ArgumentParser CommandParser.swift
[98/141] Compiling ArgumentParser InputKey.swift
[99/141] Compiling ArgumentParser NameSpecification.swift
[100/141] Compiling ArgumentParser Option.swift
[101/141] Compiling ArgumentParser OptionGroup.swift
[102/141] Compiling ArgumentParser AsyncParsableCommand.swift
[103/141] Compiling ArgumentParser HelpGenerator.swift
[104/141] Compiling ArgumentParser MessageInfo.swift
[105/141] Compiling ArgumentParser UsageGenerator.swift
[106/141] Compiling ArgumentParser CollectionExtensions.swift
[107/141] Emitting module TestingUtils
[108/141] Compiling TestingUtils TestingUtils.swift
[109/141] Compiling MLTensorNN Layer.swift
[110/141] Compiling TensorUtils Math.swift
[111/141] Emitting module MLTensorNN
[112/141] Compiling MLTensorNN Activation.swift
[113/141] Compiling Safetensors Safetensors.swift
[114/141] Compiling Safetensors HeaderElement.swift
[115/141] Compiling Safetensors SafetensorsEncodable.swift
[116/141] Compiling Safetensors MLTensor.swift
[117/141] Compiling Safetensors ParsedSafetensors.swift
[118/141] Compiling Safetensors OffsetRange.swift
[119/141] Compiling Safetensors MLMultiArray.swift
[120/141] Compiling Safetensors MLShapedArray.swift
[121/141] Emitting module Safetensors
[122/141] Compiling Tokenizers UnigramTokenizer.swift
[123/142] Compiling TensorUtils MLMultiArray+Utils.swift
[124/142] Compiling TensorUtils MLShapedArray+Utils.swift
[125/142] Compiling Tokenizers Utils.swift
[126/142] Compiling TensorUtils TemperatureLogitsWarper.swift
[127/142] Compiling TensorUtils TopKLogitsWarper.swift
[128/142] Emitting module TensorUtils
[131/142] Compiling Tokenizers Trie.swift
[132/142] Compiling Tokenizers TokenLattice.swift
[133/142] Compiling Tokenizers PreTokenizer.swift
[134/142] Compiling Tokenizers PostProcessor.swift
[135/142] Compiling Tokenizers Normalizer.swift
[136/142] Emitting module Tokenizers
[139/142] Compiling Tokenizers Tokenizer.swift
[140/145] Compiling Generation GenerationConfig.swift
[141/145] Compiling Generation Generation.swift
[142/145] Emitting module Generation
[143/148] Compiling Models LanguageModelTypes.swift
[144/148] Compiling Models LanguageModel.swift
[145/148] Emitting module Models
[146/151] Compiling BertEmbeddings Utils.swift
[147/151] Compiling BertEmbeddings Model.swift
[148/151] Emitting module BertEmbeddings
[149/154] Compiling EmbeddingsCLI EmbeddingsCLI.swift
[150/154] Emitting module EmbeddingsCLI
[151/154] Compiling EmbeddingsCLI BertCommand.swift
[151/154] Write Objects.LinkFileList
[152/154] Linking embeddings-cli
[153/154] Applying embeddings-cli
Build complete! (48.25s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-numerics",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.2",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-numerics.git"
    },
    {
      "identity" : "swift-transformers",
      "requirement" : {
        "revision" : [
          "2c68d534155b702a504541e60d8eb6e0ab395478"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/huggingface/swift-transformers.git"
    },
    {
      "identity" : "swift-safetensors",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.0.6",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jkrukowski/swift-safetensors.git"
    },
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.5.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser.git"
    }
  ],
  "manifest_display_name" : "swift-embeddings",
  "name" : "swift-embeddings",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "15.0"
    },
    {
      "name" : "ios",
      "version" : "18.0"
    },
    {
      "name" : "tvos",
      "version" : "18.0"
    },
    {
      "name" : "visionos",
      "version" : "2.0"
    },
    {
      "name" : "watchos",
      "version" : "11.0"
    }
  ],
  "products" : [
    {
      "name" : "embeddings-cli",
      "targets" : [
        "EmbeddingsCLI"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "BertEmbeddings",
      "targets" : [
        "BertEmbeddings"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "MLTensorNN",
      "targets" : [
        "MLTensorNN"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "TestingUtils",
      "module_type" : "SwiftTarget",
      "name" : "TestingUtils",
      "path" : "Sources/TestingUtils",
      "product_dependencies" : [
        "Numerics"
      ],
      "sources" : [
        "TestingUtils.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "MLTensorNNTests",
      "module_type" : "SwiftTarget",
      "name" : "MLTensorNNTests",
      "path" : "Tests/MLTensorNNTests",
      "sources" : [
        "MLTensorNNTests.swift"
      ],
      "target_dependencies" : [
        "MLTensorNN",
        "TestingUtils"
      ],
      "type" : "test"
    },
    {
      "c99name" : "MLTensorNN",
      "module_type" : "SwiftTarget",
      "name" : "MLTensorNN",
      "path" : "Sources/MLTensorNN",
      "product_memberships" : [
        "embeddings-cli",
        "BertEmbeddings",
        "MLTensorNN"
      ],
      "sources" : [
        "Activation.swift",
        "Layer.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "EmbeddingsCLI",
      "module_type" : "SwiftTarget",
      "name" : "EmbeddingsCLI",
      "path" : "Sources/EmbeddingsCLI",
      "product_dependencies" : [
        "Safetensors",
        "ArgumentParser"
      ],
      "product_memberships" : [
        "embeddings-cli"
      ],
      "sources" : [
        "BertCommand.swift",
        "EmbeddingsCLI.swift"
      ],
      "target_dependencies" : [
        "BertEmbeddings"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "BertEmbeddingsTests",
      "module_type" : "SwiftTarget",
      "name" : "BertEmbeddingsTests",
      "path" : "Tests/BertEmbeddingsTests",
      "product_dependencies" : [
        "Safetensors"
      ],
      "sources" : [
        "BertEmbeddingsTests.swift"
      ],
      "target_dependencies" : [
        "BertEmbeddings",
        "MLTensorNN",
        "TestingUtils"
      ],
      "type" : "test"
    },
    {
      "c99name" : "BertEmbeddings",
      "module_type" : "SwiftTarget",
      "name" : "BertEmbeddings",
      "path" : "Sources/BertEmbeddings",
      "product_dependencies" : [
        "Transformers"
      ],
      "product_memberships" : [
        "embeddings-cli",
        "BertEmbeddings"
      ],
      "sources" : [
        "Model.swift",
        "Utils.swift"
      ],
      "target_dependencies" : [
        "MLTensorNN"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Done.