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-nbt, reference main (20349a), with Swift 6.0 for macOS (SPM) on 29 Nov 2024 05:58:20 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.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ezfe/swift-nbt.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
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
Fetching https://github.com/apple/swift-docc-plugin.git
Fetching https://github.com/1024jp/GzipSwift.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-docc-symbolkit
[1/2038] Fetching swift-docc-plugin
[22/3578] Fetching swift-docc-plugin, gzipswift
[1766/19181] Fetching swift-docc-plugin, gzipswift, swift-collections
Fetched https://github.com/1024jp/GzipSwift.git from cache (0.92s)
[382/17641] Fetching swift-docc-plugin, swift-collections
[851/20827] Fetching swift-docc-plugin, swift-collections, swift-docc-symbolkit
Fetched https://github.com/apple/swift-docc-plugin.git from cache (1.29s)
[4123/18789] Fetching swift-collections, swift-docc-symbolkit
Fetched https://github.com/apple/swift-docc-symbolkit from cache (1.92s)
Fetched https://github.com/apple/swift-collections.git from cache (1.92s)
Computing version for https://github.com/1024jp/GzipSwift.git
Computed https://github.com/1024jp/GzipSwift.git at 5.2.0 (0.60s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.0.5 (0.60s)
Computing version for https://github.com/apple/swift-docc-plugin.git
Computed https://github.com/apple/swift-docc-plugin.git at 1.1.0 (0.56s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.59s)
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.1.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.0.5
Creating working copy for https://github.com/apple/swift-docc-symbolkit
Working copy of https://github.com/apple/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/1024jp/GzipSwift.git
Working copy of https://github.com/1024jp/GzipSwift.git resolved at 5.2.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-nbt",
      "name": "swift-nbt",
      "url": "https://github.com/ezfe/swift-nbt.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-nbt",
      "dependencies": [
        {
          "identity": "swift-collections",
          "name": "swift-collections",
          "url": "https://github.com/apple/swift-collections.git",
          "version": "1.1.4",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-collections",
          "dependencies": [
          ]
        },
        {
          "identity": "gzipswift",
          "name": "Gzip",
          "url": "https://github.com/1024jp/GzipSwift.git",
          "version": "5.2.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/GzipSwift",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/ezfe/swift-nbt.git
[1/359] Fetching swift-nbt
Fetched https://github.com/ezfe/swift-nbt.git from cache (0.76s)
Fetching https://github.com/apple/swift-collections.git from cache
Fetching https://github.com/1024jp/GzipSwift.git from cache
Fetched https://github.com/apple/swift-collections.git from cache (0.53s)
Fetched https://github.com/1024jp/GzipSwift.git from cache (0.53s)
Computing version for https://github.com/1024jp/GzipSwift.git
Computed https://github.com/1024jp/GzipSwift.git at 5.2.0 (0.02s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.71s)
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/ezfe/swift-nbt.git
Working copy of https://github.com/ezfe/swift-nbt.git resolved at main (20349a3)
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
warning: '.resolve-product-dependencies': dependency 'swift-nbt' is not used by any target
Found 2 product dependencies
  - swift-collections
  - Gzip
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/ezfe/swift-nbt.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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
[1/1] Compiling plugin Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/14] Write sources
[4/14] Write MinecraftTools-entitlement.plist
[4/14] Write sources
[9/14] Compiling system-zlib anchor.c
[10/14] Write swift-version--7754E27361AE5C74.txt
[12/68] Emitting module OrderedCollections
[13/73] Compiling OrderedCollections OrderedSet+Codable.swift
[14/73] Compiling OrderedCollections OrderedSet+CustomDebugStringConvertible.swift
[15/73] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[16/73] Compiling OrderedCollections OrderedSet+CustomStringConvertible.swift
[17/73] Compiling OrderedCollections OrderedSet+Diffing.swift
[18/73] Compiling OrderedCollections OrderedSet+Invariants.swift
[19/73] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[20/73] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[21/73] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[22/73] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Operations.swift
[23/73] Compiling OrderedCollections OrderedSet+Equatable.swift
[24/73] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[25/73] Compiling OrderedCollections OrderedSet+Hashable.swift
[26/73] Compiling OrderedCollections OrderedSet+Initializers.swift
[27/73] Compiling OrderedCollections OrderedSet+Insertions.swift
[28/73] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[29/73] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[30/73] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[31/73] Compiling OrderedCollections OrderedDictionary+Values.swift
[32/73] Compiling OrderedCollections OrderedDictionary.swift
[33/73] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[34/73] Compiling OrderedCollections _HashTable.swift
[35/73] Compiling OrderedCollections _Hashtable+Header.swift
[36/73] Compiling OrderedCollections OrderedDictionary+Codable.swift
[37/73] Compiling OrderedCollections OrderedDictionary+CustomDebugStringConvertible.swift
[38/73] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[39/73] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[40/73] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[41/73] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[42/73] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[43/73] Compiling OrderedCollections _HashTable+Bucket.swift
[44/73] Compiling OrderedCollections _HashTable+BucketIterator.swift
[45/73] Compiling OrderedCollections _HashTable+Constants.swift
[46/73] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[47/73] Compiling OrderedCollections _HashTable+Testing.swift
[48/73] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[49/73] Compiling OrderedCollections OrderedDictionary+CustomStringConvertible.swift
[50/73] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[51/73] Compiling OrderedCollections OrderedDictionary+Elements+SubSequence.swift
[52/73] Compiling OrderedCollections OrderedDictionary+Elements.swift
[53/73] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Predicates.swift
[54/73] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[55/73] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[56/73] Compiling OrderedCollections OrderedSet+SubSequence.swift
[57/73] Compiling OrderedCollections OrderedSet+Testing.swift
[58/73] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[59/73] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[60/73] Compiling OrderedCollections OrderedSet.swift
[61/73] Compiling OrderedCollections RandomAccessCollection+Offsets.swift
[62/73] Compiling OrderedCollections _UnsafeBitset.swift
[63/73] Emitting module NBTStructures
[64/73] Compiling NBTStructures Level.swift
[65/73] Emitting module Gzip
[66/73] Compiling Gzip Data+Gzip.swift
[67/73] Compiling DataTools Extensions.swift
[68/73] Compiling DataTools DataAccumulator.swift
[69/73] Compiling DataTools DataStream.swift
[70/73] Emitting module DataTools
[71/86] Compiling MinecraftNBT NBTValue.swift
[72/86] Compiling MinecraftNBT NBTCompound.swift
[73/86] Compiling MinecraftNBT NBTList.swift
[74/87] Compiling MinecraftNBT NBTTagType.swift
[75/87] Compiling MinecraftNBT NBTStructure.swift
[76/87] Compiling MinecraftNBT Values.swift
[77/87] Compiling MinecraftNBT NBTReferencingEncoder.swift
[78/87] Compiling MinecraftNBT DataStream+readPayload.swift
[79/87] Compiling MinecraftNBT NBTDecoder.swift
[80/87] Compiling MinecraftNBT NBTDecodingStorage.swift
[81/87] Compiling MinecraftNBT NBTReferencingDecoder.swift
[82/87] Compiling MinecraftNBT NBTEncoder.swift
[83/87] Compiling MinecraftNBT NBTEncodingStorage.swift
[84/87] Emitting module MinecraftNBT
[85/89] Compiling MinecraftTools main.swift
/Users/admin/builder/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()
[86/89] Emitting module MinecraftTools
/Users/admin/builder/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()
[86/89] Write Objects.LinkFileList
[87/89] Linking MinecraftTools
[88/89] Applying MinecraftTools
Build complete! (27.76s)
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" : "/Users/admin/builder/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"
}
Done.