The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of swift-nbt, reference main (20349a), with Swift 6.2 (beta) for Linux on 19 Jun 2025 23:33:37 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ezfe/swift-nbt.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/ezfe/swift-nbt
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 20349a3 Merge pull request #2 from thtTNT/main
Cloned https://github.com/ezfe/swift-nbt.git
Revision (git rev-parse @):
20349a3a0a7607352a1d3141160c44a3f0d9ada6
SUCCESS checkout https://github.com/ezfe/swift-nbt.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/ezfe/swift-nbt.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/apple/swift-docc-plugin.git
Fetching https://github.com/1024jp/GzipSwift.git
Fetching https://github.com/apple/swift-collections.git
[1/2082] Fetching swift-docc-plugin
[231/3639] Fetching swift-docc-plugin, gzipswift
[1808/20279] Fetching swift-docc-plugin, gzipswift, swift-collections
Fetched https://github.com/1024jp/GzipSwift.git from cache (0.55s)
[1416/18722] Fetching swift-docc-plugin, swift-collections
Fetched https://github.com/apple/swift-docc-plugin.git from cache (0.72s)
[2829/16640] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.93s)
Computing version for https://github.com/1024jp/GzipSwift.git
Computed https://github.com/1024jp/GzipSwift.git at 5.2.0 (2.75s)
Computing version for https://github.com/apple/swift-docc-plugin.git
Computed https://github.com/apple/swift-docc-plugin.git at 1.4.4 (0.76s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3413] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.68s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.54s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (1.06s)
Creating working copy for https://github.com/1024jp/GzipSwift.git
Working copy of https://github.com/1024jp/GzipSwift.git resolved at 5.2.0
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-docc-plugin.git
Working copy of https://github.com/apple/swift-docc-plugin.git resolved at 1.4.4
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/20] Write sources
[9/20] Compiling system-zlib anchor.c
[10/20] Write swift-version-24593BA9C3E375BF.txt
[12/42] Compiling InternalCollectionsUtilities Descriptions.swift
[13/42] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[14/43] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[15/43] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[16/43] Compiling InternalCollectionsUtilities _SortedCollection.swift
[17/43] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[18/43] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[19/43] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[20/43] Compiling InternalCollectionsUtilities Debugging.swift
[21/43] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[22/43] Compiling InternalCollectionsUtilities Integer rank.swift
[23/43] Emitting module InternalCollectionsUtilities
[24/43] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[25/43] Compiling InternalCollectionsUtilities UInt+reversed.swift
[26/43] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[27/44] Wrapping AST for InternalCollectionsUtilities for debugging
[29/99] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[30/99] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[31/99] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[32/99] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[33/99] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[34/99] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[35/99] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[36/106] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[37/106] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[38/106] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[39/106] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[40/106] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[41/106] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[42/106] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[43/106] Compiling OrderedCollections OrderedSet+Initializers.swift
[44/106] Compiling OrderedCollections OrderedSet+Insertions.swift
[45/106] Compiling OrderedCollections OrderedSet+Invariants.swift
[46/106] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[47/106] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[48/106] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[49/106] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[50/106] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[51/106] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[52/106] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[53/106] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[54/106] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[55/106] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[56/106] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[57/106] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[58/106] Compiling OrderedCollections OrderedDictionary+Values.swift
[59/106] Compiling OrderedCollections OrderedDictionary.swift
[60/106] Compiling OrderedCollections OrderedSet+Codable.swift
[61/106] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[62/106] Compiling OrderedCollections OrderedSet+Descriptions.swift
[63/106] Compiling OrderedCollections OrderedSet+Diffing.swift
[64/106] Compiling OrderedCollections OrderedSet+Equatable.swift
[65/106] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[66/106] Compiling OrderedCollections OrderedSet+Hashable.swift
[67/106] Compiling OrderedCollections OrderedDictionary+Codable.swift
[68/106] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[69/106] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[70/106] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[71/106] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[72/106] Compiling OrderedCollections OrderedDictionary+Elements.swift
[73/106] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[74/106] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[75/106] Compiling DataTools Extensions.swift
[76/106] Emitting module NBTStructures
[77/106] Compiling NBTStructures Level.swift
[78/107] Emitting module DataTools
[80/107] Compiling DataTools DataAccumulator.swift
[81/107] Compiling DataTools DataStream.swift
[83/108] Emitting module Gzip
[84/108] Compiling Gzip Data+Gzip.swift
[85/109] Compiling OrderedCollections OrderedSet+Sendable.swift
[86/109] Compiling OrderedCollections OrderedSet+SubSequence.swift
[87/109] Compiling OrderedCollections OrderedSet+Testing.swift
[88/109] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[89/109] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[90/109] Compiling OrderedCollections OrderedSet.swift
[91/109] Compiling OrderedCollections _UnsafeBitset.swift
[92/109] Wrapping AST for NBTStructures for debugging
[93/109] Wrapping AST for DataTools for debugging
[94/109] Wrapping AST for Gzip for debugging
[96/109] Compiling OrderedCollections _HashTable+Bucket.swift
[97/109] Compiling OrderedCollections _HashTable+BucketIterator.swift
[98/109] Compiling OrderedCollections _HashTable+Constants.swift
[99/109] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[100/109] Compiling OrderedCollections _HashTable+Testing.swift
[101/109] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[102/109] Compiling OrderedCollections _HashTable.swift
[103/109] Compiling OrderedCollections _Hashtable+Header.swift
[104/109] Emitting module OrderedCollections
[105/110] Wrapping AST for OrderedCollections for debugging
[107/123] Compiling MinecraftNBT NBTValue.swift
[108/124] Compiling MinecraftNBT NBTList.swift
[109/124] Compiling MinecraftNBT NBTTagType.swift
[110/124] Compiling MinecraftNBT NBTCompound.swift
[111/124] Compiling MinecraftNBT Values.swift
[112/124] Emitting module MinecraftNBT
[113/124] Compiling MinecraftNBT NBTReferencingEncoder.swift
[114/124] Compiling MinecraftNBT NBTStructure.swift
[115/124] Compiling MinecraftNBT NBTDecodingStorage.swift
[116/124] Compiling MinecraftNBT NBTReferencingDecoder.swift
[117/124] Compiling MinecraftNBT DataStream+readPayload.swift
[118/124] Compiling MinecraftNBT NBTDecoder.swift
[119/124] Compiling MinecraftNBT NBTEncoder.swift
[120/124] Compiling MinecraftNBT NBTEncodingStorage.swift
[121/125] Wrapping AST for MinecraftNBT for debugging
[123/127] Emitting module MinecraftTools
/host/spi-builder-workspace/Sources/MinecraftTools/main.swift:15:7: warning: expression implicitly coerced from '(any NBTTag)?' to 'Any'
13 | print(structure.tag.description)
14 |
15 | print(try structure.read(["", "Data", "ServerBrands", "0"]))
   |       |             |- note: provide a default value to avoid this warning
   |       |             |- note: force-unwrap the value to avoid this warning
   |       |             `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
   |       `- warning: expression implicitly coerced from '(any NBTTag)?' to 'Any'
16 |
17 | //let decoder = NBTDecoder()
[124/127] Compiling MinecraftTools main.swift
/host/spi-builder-workspace/Sources/MinecraftTools/main.swift:15:7: warning: expression implicitly coerced from '(any NBTTag)?' to 'Any'
13 | print(structure.tag.description)
14 |
15 | print(try structure.read(["", "Data", "ServerBrands", "0"]))
   |       |             |- note: provide a default value to avoid this warning
   |       |             |- note: force-unwrap the value to avoid this warning
   |       |             `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
   |       `- warning: expression implicitly coerced from '(any NBTTag)?' to 'Any'
16 |
17 | //let decoder = NBTDecoder()
[125/128] Wrapping AST for MinecraftTools for debugging
[126/128] Write Objects.LinkFileList
[127/128] Linking MinecraftTools
Build complete! (63.79s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin.git"
    },
    {
      "identity" : "swift-collections",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.4",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-collections.git"
    },
    {
      "identity" : "gzipswift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.2.0",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/1024jp/GzipSwift.git"
    }
  ],
  "manifest_display_name" : "swift-nbt",
  "name" : "swift-nbt",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "MinecraftNBT",
      "targets" : [
        "MinecraftNBT"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "MinecraftTools",
      "targets" : [
        "MinecraftTools"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "NBTStructures",
      "module_type" : "SwiftTarget",
      "name" : "NBTStructures",
      "path" : "Sources/NBTStructures",
      "product_memberships" : [
        "MinecraftTools"
      ],
      "sources" : [
        "Level.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "MinecraftTools",
      "module_type" : "SwiftTarget",
      "name" : "MinecraftTools",
      "path" : "Sources/MinecraftTools",
      "product_memberships" : [
        "MinecraftTools"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "MinecraftNBT",
        "DataTools",
        "NBTStructures"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "MinecraftNBTTests",
      "module_type" : "SwiftTarget",
      "name" : "MinecraftNBTTests",
      "path" : "Tests/MinecraftNBTTests",
      "sources" : [
        "DataStreamTests.swift",
        "DescriptionTests.swift",
        "Tags/Lists/GenericListTests.swift",
        "ValuesTests.swift"
      ],
      "target_dependencies" : [
        "MinecraftNBT"
      ],
      "type" : "test"
    },
    {
      "c99name" : "MinecraftNBT",
      "module_type" : "SwiftTarget",
      "name" : "MinecraftNBT",
      "path" : "Sources/MinecraftNBT",
      "product_dependencies" : [
        "OrderedCollections",
        "Gzip"
      ],
      "product_memberships" : [
        "MinecraftNBT",
        "MinecraftTools"
      ],
      "sources" : [
        "DataStream+readPayload.swift",
        "NBTDecoder/NBTDecoder.swift",
        "NBTDecoder/NBTDecodingStorage.swift",
        "NBTDecoder/NBTReferencingDecoder.swift",
        "NBTEncoder/NBTEncoder.swift",
        "NBTEncoder/NBTEncodingStorage.swift",
        "NBTEncoder/NBTReferencingEncoder.swift",
        "NBTStructure.swift",
        "NBTTagType.swift",
        "Tags/NBTCompound.swift",
        "Tags/NBTList.swift",
        "Tags/NBTValue.swift",
        "Values.swift"
      ],
      "target_dependencies" : [
        "DataTools"
      ],
      "type" : "library"
    },
    {
      "c99name" : "DataToolsTests",
      "module_type" : "SwiftTarget",
      "name" : "DataToolsTests",
      "path" : "Tests/DataToolsTests",
      "sources" : [
        "DataStreamTests.swift",
        "FloatTests.swift",
        "IntegerDeserializationTests.swift",
        "IntegerSerializationTests.swift",
        "StringTests.swift"
      ],
      "target_dependencies" : [
        "DataTools"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DataTools",
      "module_type" : "SwiftTarget",
      "name" : "DataTools",
      "path" : "Sources/DataTools",
      "product_memberships" : [
        "MinecraftNBT",
        "MinecraftTools"
      ],
      "sources" : [
        "DataAccumulator.swift",
        "DataStream.swift",
        "Extensions.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Done.