The Swift Package Index logo.Swift Package Index

Build Information

Successful build of SwiftNGram, reference main (017116), with Swift 6.3 for macOS (SPM) on 15 Apr 2026 17:49:42 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nyanko3141592/SwiftNGramWiithMarisaTrie.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/nyanko3141592/SwiftNGramWiithMarisaTrie
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 0171169 Merge pull request #4 from nyanko3141592/feat/use_minimum_tokenizers
Cloned https://github.com/nyanko3141592/SwiftNGramWiithMarisaTrie.git
Revision (git rev-parse @):
0171169c1eb8f7bacceb8236ce7d324050d893c2
SUCCESS checkout https://github.com/nyanko3141592/SwiftNGramWiithMarisaTrie.git at main
Fetching https://github.com/ensan-hcl/SwiftyMarisa
[1/430] Fetching swiftymarisa
Fetched https://github.com/ensan-hcl/SwiftyMarisa from cache (0.91s)
Fetching https://github.com/ensan-hcl/swift-tokenizers
[1/990] Fetching swift-tokenizers
Fetched https://github.com/ensan-hcl/swift-tokenizers from cache (1.02s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/johnmai-dev/Jinja
[1/1051] Fetching jinja
[12/24588] Fetching jinja, swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.77s)
Fetched https://github.com/johnmai-dev/Jinja from cache (1.77s)
Computing version for https://github.com/johnmai-dev/Jinja
Computed https://github.com/johnmai-dev/Jinja at 1.1.1 (2.37s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (3.83s)
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.4
Creating working copy for https://github.com/johnmai-dev/Jinja
Working copy of https://github.com/johnmai-dev/Jinja resolved at 1.1.1
Creating working copy for https://github.com/ensan-hcl/swift-tokenizers
Working copy of https://github.com/ensan-hcl/swift-tokenizers resolved at feat/minimum (9c90774)
Creating working copy for https://github.com/ensan-hcl/SwiftyMarisa
Working copy of https://github.com/ensan-hcl/SwiftyMarisa resolved at feat/swift_cpp_interop (6e145ae)
========================================
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",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "swiftngramwiithmarisatrie",
      "name": "SwiftNGram",
      "url": "https://github.com/nyanko3141592/SwiftNGramWiithMarisaTrie.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftNGramWiithMarisaTrie",
      "traits": [
        "default"
      ],
      "dependencies": [
        {
          "identity": "swiftymarisa",
          "name": "SwiftyMarisa",
          "url": "https://github.com/ensan-hcl/SwiftyMarisa",
          "version": "unspecified",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftyMarisa",
          "traits": [
            "default"
          ],
          "dependencies": [
          ]
        },
        {
          "identity": "swift-tokenizers",
          "name": "swift-transformers",
          "url": "https://github.com/ensan-hcl/swift-tokenizers",
          "version": "unspecified",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-tokenizers",
          "traits": [
            "default"
          ],
          "dependencies": [
            {
              "identity": "jinja",
              "name": "Jinja",
              "url": "https://github.com/johnmai-dev/Jinja",
              "version": "1.1.2",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Jinja",
              "traits": [
                "default"
              ],
              "dependencies": [
                {
                  "identity": "swift-collections",
                  "name": "swift-collections",
                  "url": "https://github.com/apple/swift-collections.git",
                  "version": "1.4.1",
                  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-collections",
                  "traits": [
                  ],
                  "dependencies": [
                  ]
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/nyanko3141592/SwiftNGramWiithMarisaTrie.git
[1/270] Fetching swiftngramwiithmarisatrie
Fetched https://github.com/nyanko3141592/SwiftNGramWiithMarisaTrie.git from cache (0.75s)
Fetching https://github.com/ensan-hcl/SwiftyMarisa from cache
Fetched https://github.com/ensan-hcl/SwiftyMarisa from cache (0.43s)
Fetching https://github.com/ensan-hcl/swift-tokenizers from cache
Fetched https://github.com/ensan-hcl/swift-tokenizers from cache (0.46s)
Fetching https://github.com/johnmai-dev/Jinja from cache
Fetched https://github.com/johnmai-dev/Jinja from cache (0.46s)
Computing version for https://github.com/johnmai-dev/Jinja
Computed https://github.com/johnmai-dev/Jinja at 1.1.2 (0.52s)
Fetching https://github.com/apple/swift-collections.git from cache
Fetched https://github.com/apple/swift-collections.git from cache (0.56s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (1.30s)
Creating working copy for https://github.com/ensan-hcl/SwiftyMarisa
Working copy of https://github.com/ensan-hcl/SwiftyMarisa resolved at feat/swift_cpp_interop (6e145ae)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.1
Creating working copy for https://github.com/johnmai-dev/Jinja
Working copy of https://github.com/johnmai-dev/Jinja resolved at 1.1.2
Creating working copy for https://github.com/ensan-hcl/swift-tokenizers
Working copy of https://github.com/ensan-hcl/swift-tokenizers resolved at feat/minimum (407e518)
Creating working copy for https://github.com/nyanko3141592/SwiftNGramWiithMarisaTrie.git
Working copy of https://github.com/nyanko3141592/SwiftNGramWiithMarisaTrie.git resolved at main (0171169)
warning: 'swiftngramwiithmarisatrie': 'Examples' was identified as an executable target given the presence of a 'main' file. Starting with tools version 5.4.0 executable targets should be declared as 'executableTarget()'
Found 2 product dependencies
  - SwiftyMarisa
  - swift-transformers
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/nyanko3141592/SwiftNGramWiithMarisaTrie.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/25] Write sources
[2/25] Copying t5_tokenizer_config.json
[2/25] Copying gpt2_tokenizer_config.json
[4/25] Write swift-version--6988338F2F200930.txt
[5/25] Copying tokenizer
[6/25] Write SwiftNGramExample-entitlement.plist
[7/25] Write sources
[12/43] Compiling keyset.cc
[13/43] Compiling mapper.cc
[13/43] Write sources
[16/48] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[17/48] Compiling InternalCollectionsUtilities Specialize.swift
[18/48] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[18/49] Compiling writer.cc
[19/49] Compiling reader.cc
[19/49] Compiling tail.cc
[21/49] Compiling agent.cc
[22/49] Compiling trie.cc
[23/49] Compiling bit-vector.cc
[25/49] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[26/49] Compiling InternalCollectionsUtilities Debugging.swift
[27/49] Compiling InternalCollectionsUtilities Descriptions.swift
[28/49] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+SE-0370.swift
[29/49] Compiling InternalCollectionsUtilities UnsafeMutablePointer+SE-0370.swift
[30/49] Compiling InternalCollectionsUtilities UInt+reversed.swift
[31/49] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[32/49] Compiling InternalCollectionsUtilities _SortedCollection.swift
[33/49] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[34/49] Compiling InternalCollectionsUtilities Integer rank.swift
[35/49] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[36/49] Compiling InternalCollectionsUtilities UnsafeRawPointer extensions.swift
[37/49] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[38/49] Emitting module InternalCollectionsUtilities
[39/49] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[40/49] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[40/49] Compiling louds-trie.cc
[42/107] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[43/107] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[44/107] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[45/107] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[46/107] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[47/107] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[48/113] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[49/113] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[50/113] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[51/113] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[52/113] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[53/113] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[54/113] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[55/113] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[56/113] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[57/113] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[58/113] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[59/113] Compiling OrderedCollections OrderedSet+Sendable.swift
[60/113] Compiling OrderedCollections OrderedSet+Codable.swift
[61/113] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[62/113] Compiling OrderedCollections OrderedSet+Descriptions.swift
[63/113] Compiling OrderedCollections OrderedSet+Diffing.swift
[64/113] Compiling OrderedCollections OrderedSet+Equatable.swift
[65/113] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[66/113] Compiling OrderedCollections OrderedDictionary+Elements.swift
[67/113] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[68/113] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[69/113] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[70/113] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[71/113] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[72/113] Compiling OrderedCollections _Hashtable+Header.swift
[73/113] Compiling OrderedCollections OrderedDictionary+Codable.swift
[74/113] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[75/113] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[76/113] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[77/113] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[78/113] Compiling OrderedCollections OrderedSet+Hashable.swift
[79/113] Compiling OrderedCollections OrderedSet+Initializers.swift
[80/113] Compiling OrderedCollections OrderedSet+Insertions.swift
[81/113] Compiling OrderedCollections OrderedSet+Invariants.swift
[82/113] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[83/113] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[84/113] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[85/113] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[86/113] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[87/113] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[88/113] Compiling OrderedCollections OrderedDictionary+Values.swift
[89/113] Compiling OrderedCollections OrderedDictionary.swift
[90/113] Compiling OrderedCollections _HashTable+Bucket.swift
[91/113] Compiling OrderedCollections _HashTable+BucketIterator.swift
[92/113] Compiling OrderedCollections _HashTable+Constants.swift
[93/113] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[94/113] Compiling OrderedCollections _HashTable+Testing.swift
[95/113] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[96/113] Compiling OrderedCollections _HashTable.swift
[97/113] Compiling OrderedCollections OrderedSet+SubSequence.swift
[98/113] Compiling OrderedCollections OrderedSet+Testing.swift
[99/113] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[100/113] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[101/113] Compiling OrderedCollections OrderedSet.swift
[102/113] Compiling OrderedCollections _UnsafeBitset.swift
[103/113] Emitting module OrderedCollections
[104/123] Compiling Jinja Template.swift
[105/123] Compiling Jinja Utilities.swift
[106/123] Compiling Jinja Parser.swift
[107/123] Compiling Jinja Lexer.swift
[108/123] Compiling Jinja Runtime.swift
[109/123] Compiling Hub resource_bundle_accessor.swift
[110/123] Compiling Hub Downloader.swift
[111/123] Compiling Hub Hub.swift
[112/123] Compiling Jinja StringExtension.swift
[113/123] Emitting module Hub
[114/123] Compiling Jinja Error.swift
[115/123] Compiling Jinja Ast.swift
[116/123] Emitting module Jinja
[117/123] Compiling Hub HubApi.swift
[118/123] Compiling Jinja Environment.swift
[119/135] Compiling Tokenizers Trie.swift
[120/135] Compiling Tokenizers UnigramTokenizer.swift
[121/136] Compiling Tokenizers Utils.swift
[122/136] Compiling Tokenizers PreTokenizer.swift
[123/136] Compiling Tokenizers TokenLattice.swift
[124/136] Compiling Tokenizers BPETokenizer.swift
[125/136] Compiling Tokenizers BertTokenizer.swift
[126/136] Compiling Tokenizers Normalizer.swift
[127/136] Compiling Tokenizers Tokenizer.swift
[128/136] Compiling Tokenizers ByteEncoder.swift
[129/136] Compiling Tokenizers Decoder.swift
[130/136] Emitting module Tokenizers
[131/136] Compiling Tokenizers PostProcessor.swift
[132/136] Emitting module SwiftyMarisa
[133/136] Compiling SwiftyMarisa SwiftyMarisa.swift
[134/141] Compiling SwiftNGram resource_bundle_accessor.swift
[135/141] Compiling SwiftNGram Inference.swift
[136/141] Emitting module SwiftNGram
[137/141] Compiling SwiftNGram Trainer.swift
[138/141] Compiling SwiftNGram Tokenizer.swift
[139/143] Compiling Examples main.swift
[140/143] Emitting module Examples
[140/143] Write Objects.LinkFileList
[141/143] Linking SwiftNGramExample
[142/143] Applying SwiftNGramExample
Build complete! (22.94s)
warning: 'spi-builder-workspace': 'Examples' was identified as an executable target given the presence of a 'main' file. Starting with tools version 5.4.0 executable targets should be declared as 'executableTarget()'
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swiftymarisa",
      "requirement" : {
        "branch" : [
          "feat/swift_cpp_interop"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/ensan-hcl/SwiftyMarisa"
    },
    {
      "identity" : "swift-tokenizers",
      "requirement" : {
        "branch" : [
          "feat/minimum"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/ensan-hcl/swift-tokenizers"
    }
  ],
  "manifest_display_name" : "SwiftNGram",
  "name" : "SwiftNGram",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftNGram",
      "targets" : [
        "SwiftNGram"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SwiftNGramExample",
      "targets" : [
        "Examples"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftNGramTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftNGramTests",
      "path" : "Tests/SwiftNGramTests",
      "sources" : [
        "SwiftNGramTests.swift"
      ],
      "target_dependencies" : [
        "SwiftNGram"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftNGram",
      "module_type" : "SwiftTarget",
      "name" : "SwiftNGram",
      "path" : "Sources/SwiftNGram",
      "product_dependencies" : [
        "SwiftyMarisa",
        "Transformers"
      ],
      "product_memberships" : [
        "SwiftNGram",
        "SwiftNGramExample"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/SwiftNGram/tokenizer",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "Inference.swift",
        "Tokenizer.swift",
        "Trainer.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Examples",
      "module_type" : "SwiftTarget",
      "name" : "Examples",
      "path" : "Sources/Examples",
      "product_memberships" : [
        "SwiftNGramExample"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "SwiftNGram"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "6.0"
}
warning: 'spi-builder-workspace': 'Examples' was identified as an executable target given the presence of a 'main' file. Starting with tools version 5.4.0 executable targets should be declared as 'executableTarget()'
Done.