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 0.0.1 (f4f49b), with Swift 6.0 for macOS (SPM) on 30 Oct 2024 17:04:21 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: 0.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/jkrukowski/swift-embeddings
 * tag               0.0.1      -> FETCH_HEAD
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 0.0.1
Fetching https://github.com/huggingface/swift-transformers.git
[1/1888] Fetching swift-transformers
Fetched https://github.com/huggingface/swift-transformers.git from cache (3.47s)
Fetching https://github.com/jkrukowski/swift-safetensors
Fetching https://github.com/maiqingqiang/Jinja
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/apple/swift-numerics
[1/238] Fetching jinja
[199/417] Fetching jinja, swift-safetensors
[310/5993] Fetching jinja, swift-safetensors, swift-numerics
[4433/18295] Fetching jinja, swift-safetensors, swift-numerics, swift-argument-parser
Fetched https://github.com/jkrukowski/swift-safetensors from cache (1.64s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.64s)
Fetched https://github.com/apple/swift-numerics from cache (1.64s)
Fetched https://github.com/maiqingqiang/Jinja from cache (1.64s)
Computing version for https://github.com/maiqingqiang/Jinja
Computed https://github.com/maiqingqiang/Jinja at 1.0.5 (0.50s)
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.54s)
Computing version for https://github.com/jkrukowski/swift-safetensors.git
Computed https://github.com/jkrukowski/swift-safetensors.git at 0.0.6 (0.52s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.2 (3.39s)
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/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/maiqingqiang/Jinja
Working copy of https://github.com/maiqingqiang/Jinja resolved at 1.0.5
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
[2/39] Fetching swift-embeddings
Fetched https://github.com/jkrukowski/swift-embeddings.git from cache (0.70s)
Fetching https://github.com/huggingface/swift-transformers.git from cache
Fetched https://github.com/huggingface/swift-transformers.git from cache (0.54s)
Fetching https://github.com/maiqingqiang/Jinja from cache
Fetching https://github.com/apple/swift-argument-parser.git from cache
Fetching https://github.com/jkrukowski/swift-safetensors.git from cache
Fetched https://github.com/jkrukowski/swift-safetensors.git from cache (0.58s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.58s)
Fetched https://github.com/maiqingqiang/Jinja from cache (0.58s)
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.04s)
Computing version for https://github.com/jkrukowski/swift-safetensors.git
Computed https://github.com/jkrukowski/swift-safetensors.git at 0.0.6 (0.49s)
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/jkrukowski/swift-embeddings.git
Working copy of https://github.com/jkrukowski/swift-embeddings.git resolved at 0.0.1 (f4f49b5)
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/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
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
[1/25] Write embeddings-cli-entitlement.plist
[1/25] Write sources
[18/25] Copying t5_tokenizer_config.json
[19/25] Copying gpt2_tokenizer_config.json
[20/25] Compiling _NumericsShims _NumericsShims.c
[21/25] Write swift-version--7754E27361AE5C74.txt
[23/75] Compiling RealModule AugmentedArithmetic.swift
[24/76] Compiling RealModule RealFunctions.swift
[25/76] Compiling RealModule Real.swift
[26/76] Compiling RealModule Double+Real.swift
[27/76] Emitting module RealModule
[28/76] Compiling RealModule AlgebraicField.swift
[29/76] Compiling RealModule ApproximateEquality.swift
[30/76] Compiling RealModule Float16+Real.swift
[31/76] Compiling RealModule Float80+Real.swift
[32/76] Compiling RealModule ElementaryFunctions.swift
[33/76] Compiling RealModule Float+Real.swift
[34/81] Compiling ArgumentParserToolInfo ToolInfo.swift
[35/81] Emitting module ArgumentParserToolInfo
[36/120] Compiling ComplexModule Complex.swift
[37/120] Compiling ComplexModule ElementaryFunctions.swift
[38/120] Emitting module ComplexModule
[39/120] Compiling ComplexModule Differentiable.swift
[40/120] Compiling ComplexModule Arithmetic.swift
[41/122] Emitting module Numerics
[42/122] Compiling Numerics Numerics.swift
[43/124] Emitting module TestingUtils
[44/124] Compiling Safetensors OffsetRange.swift
[45/125] Compiling ArgumentParser BashCompletionsGenerator.swift
[46/125] Compiling ArgumentParser CompletionsGenerator.swift
[47/125] Compiling ArgumentParser FishCompletionsGenerator.swift
[48/125] Compiling ArgumentParser ZshCompletionsGenerator.swift
[49/125] Compiling ArgumentParser Argument.swift
[50/129] Compiling ArgumentParser InputOrigin.swift
[51/129] Compiling ArgumentParser Name.swift
[52/129] Compiling ArgumentParser Parsed.swift
[53/129] Compiling ArgumentParser ParsedValues.swift
[54/129] Compiling ArgumentParser ParsableArguments.swift
[55/129] Compiling ArgumentParser ParsableArgumentsValidation.swift
[56/129] Compiling ArgumentParser ParsableCommand.swift
[57/129] Compiling ArgumentParser ArgumentDecoder.swift
[58/129] Emitting module ArgumentParser
[59/129] Compiling ArgumentParser NameSpecification.swift
[60/129] Compiling ArgumentParser Option.swift
[61/129] Compiling ArgumentParser OptionGroup.swift
[62/129] Compiling ArgumentParser AsyncParsableCommand.swift
[63/129] Compiling ArgumentParser Platform.swift
[64/129] Compiling ArgumentParser SequenceExtensions.swift
[65/129] Compiling ArgumentParser StringExtensions.swift
[66/129] Compiling ArgumentParser Tree.swift
[67/129] Compiling Jinja Utilities.swift
[68/129] Compiling Jinja StringExtension.swift
[69/129] Emitting module Jinja
[70/129] Compiling Jinja Template.swift
[71/129] Compiling Jinja Environment.swift
[72/129] Compiling Jinja Ast.swift
[73/129] Compiling Jinja Error.swift
[74/129] Compiling Hub resource_bundle_accessor.swift
[75/129] Emitting module Hub
[76/129] Compiling Hub Downloader.swift
[77/129] Compiling Hub Hub.swift
[78/129] Compiling Hub HubApi.swift
[79/129] Compiling Safetensors HeaderElement.swift
[80/129] Compiling Safetensors SafetensorsEncodable.swift
[81/129] Compiling Safetensors TensorData.swift
[82/129] Compiling Jinja Lexer.swift
[83/129] Compiling Jinja Parser.swift
[84/129] Compiling Jinja Runtime.swift
[85/141] Compiling Safetensors Safetensors.swift
[86/141] Compiling Safetensors MLTensor.swift
[87/141] Compiling ArgumentParser ArgumentHelp.swift
[88/141] Compiling ArgumentParser ArgumentVisibility.swift
[89/141] Compiling ArgumentParser CompletionKind.swift
[90/141] Compiling ArgumentParser Errors.swift
[91/141] Compiling ArgumentParser Flag.swift
[92/141] Compiling ArgumentParser ParserError.swift
[93/141] Compiling ArgumentParser SplitArguments.swift
[94/141] Compiling ArgumentParser DumpHelpGenerator.swift
[95/141] Compiling ArgumentParser HelpCommand.swift
[96/141] Compiling TestingUtils TestingUtils.swift
[97/141] Compiling ArgumentParser CommandConfiguration.swift
[98/141] Compiling ArgumentParser CommandGroup.swift
[99/141] Compiling ArgumentParser EnumerableFlag.swift
[100/141] Compiling ArgumentParser ExpressibleByArgument.swift
[101/141] Compiling ArgumentParser ArgumentDefinition.swift
[102/141] Compiling ArgumentParser ArgumentSet.swift
[103/141] Compiling ArgumentParser CommandParser.swift
[104/141] Compiling ArgumentParser InputKey.swift
[105/141] Compiling ArgumentParser HelpGenerator.swift
[106/141] Compiling ArgumentParser MessageInfo.swift
[107/141] Compiling ArgumentParser UsageGenerator.swift
[108/141] Compiling ArgumentParser CollectionExtensions.swift
[109/141] Compiling Safetensors MLShapedArray.swift
[110/141] Emitting module MLTensorNN
[111/141] Compiling MLTensorNN Activation.swift
[112/141] Compiling MLTensorNN Layer.swift
[113/141] Compiling Safetensors Utils.swift
[114/141] Emitting module Safetensors
[115/141] Compiling Safetensors MLMultiArray.swift
[116/141] Compiling Safetensors ParsedSafetensors.swift
[117/141] Compiling Tokenizers Normalizer.swift
[118/142] Compiling Tokenizers Trie.swift
[119/142] Compiling Tokenizers PreTokenizer.swift
[120/142] Compiling Tokenizers UnigramTokenizer.swift
[121/142] Compiling Tokenizers TokenLattice.swift
[122/142] Compiling Tokenizers Tokenizer.swift
[123/142] Compiling Tokenizers PostProcessor.swift
[124/142] Compiling Tokenizers ByteEncoder.swift
[125/142] Compiling Tokenizers Decoder.swift
[126/142] Emitting module Tokenizers
[127/142] Compiling Tokenizers BPETokenizer.swift
[128/142] Compiling Tokenizers BertTokenizer.swift
[129/142] Compiling Tokenizers Utils.swift
[130/142] Emitting module TensorUtils
[131/142] Compiling TensorUtils LogitsWarper.swift
[132/142] Compiling TensorUtils LogitsProcessor.swift
[133/142] Compiling TensorUtils MLShapedArray+Utils.swift
[134/142] Compiling TensorUtils TopPLogitsWarper.swift
[135/142] Compiling TensorUtils Math.swift
[136/142] Compiling TensorUtils MLMultiArray+Utils.swift
[137/142] Compiling TensorUtils RepetitionPenaltyWarper.swift
[138/142] Compiling TensorUtils TemperatureLogitsWarper.swift
[139/142] Compiling TensorUtils TopKLogitsWarper.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] Emitting module Models
[145/148] Compiling Models LanguageModel.swift
[146/151] Compiling BertEmbeddings Utils.swift
[147/151] Emitting module BertEmbeddings
[148/151] Compiling BertEmbeddings Model.swift
[149/154] Emitting module EmbeddingsCLI
[150/154] Compiling EmbeddingsCLI BertCommand.swift
[151/154] Compiling EmbeddingsCLI EmbeddingsCLI.swift
[151/154] Write Objects.LinkFileList
[152/154] Linking embeddings-cli
[153/154] Applying embeddings-cli
Build complete! (50.64s)
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.