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 UBJSONSerialization, reference 2.0.4 (3da015), with Swift 6.2 (beta) for macOS (SPM) on 19 Jun 2025 08:38:08 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/frizlab/ubjsonserialization.git
Reference: 2.0.4
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/frizlab/ubjsonserialization
 * tag               2.0.4      -> FETCH_HEAD
HEAD is now at 3da0153 Fix writing to OutputStream
Cloned https://github.com/frizlab/ubjsonserialization.git
Revision (git rev-parse @):
3da0153f9f9e3eaa05e1efa2e087d6eba64c92b0
SUCCESS checkout https://github.com/frizlab/ubjsonserialization.git at 2.0.4
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/frizlab/ubjsonserialization.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-1EA4D86E10B52AF.txt
[4/13] Compiling StreamReader Matching.swift
[5/13] Compiling StreamReader DataReader.swift
[6/13] Compiling StreamReader StreamReader.swift
[7/13] Compiling StreamReader URLSessionStreamTaskReader.swift
[8/13] Emitting module StreamReader
[9/13] Compiling StreamReader StreamReaderErrors.swift
[10/13] Compiling StreamReader FileHandleReader.swift
[11/13] Compiling StreamReader GenericStreamReader.swift
[12/13] Compiling StreamReader FileDescriptorReader.swift
[13/13] Compiling StreamReader InputStreamReader.swift
[14/20] Compiling UBJSONSerialization UBJSONSpec8Serialization.swift
[15/20] Compiling UBJSONSerialization UBJSONSerializationErrors.swift
[16/20] Compiling UBJSONSerialization Utils.swift
[17/20] Emitting module UBJSONSerialization
/Users/admin/builder/spi-builder-workspace/Sources/UBJSONSerialization/HighPrecisionNumber.swift:91:100: warning: 'IndexDistance' is deprecated: All index distances are now of type Int [#DeprecatedDeclaration]
 89 | 			}
 90 |
 91 | 			mutating func parse() -> (hasNegativeSign: Bool, unsignedIntPart: [Digit], parsedLength: String.IndexDistance) {
    |                                                                                                    `- warning: 'IndexDistance' is deprecated: All index distances are now of type Int [#DeprecatedDeclaration]
 92 | 				engine = Parser.waitStart
 93 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[18/20] Compiling UBJSONSerialization Nop.swift
[19/20] Compiling UBJSONSerialization HighPrecisionNumber.swift
/Users/admin/builder/spi-builder-workspace/Sources/UBJSONSerialization/HighPrecisionNumber.swift:91:100: warning: 'IndexDistance' is deprecated: All index distances are now of type Int [#DeprecatedDeclaration]
 89 | 			}
 90 |
 91 | 			mutating func parse() -> (hasNegativeSign: Bool, unsignedIntPart: [Digit], parsedLength: String.IndexDistance) {
    |                                                                                                    `- warning: 'IndexDistance' is deprecated: All index distances are now of type Int [#DeprecatedDeclaration]
 92 | 				engine = Parser.waitStart
 93 |
/Users/admin/builder/spi-builder-workspace/Sources/UBJSONSerialization/HighPrecisionNumber.swift:109:28: warning: 'IndexDistance' is deprecated: All index distances are now of type Int [#DeprecatedDeclaration]
107 |
108 | 			var parser = Parser(parsedString: String(stringValue[startIndex...]), allowLeadingZeroOrPlus: allowLeadingZeroOrPlus)
109 | 			let parseOffset: String.IndexDistance; (hasNegativeSign, unsignedIntPart, parseOffset) = parser.parse()
    |                            `- warning: 'IndexDistance' is deprecated: All index distances are now of type Int [#DeprecatedDeclaration]
110 | 			startIndex = stringValue.index(startIndex, offsetBy: parseOffset)
111 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[20/20] Compiling UBJSONSerialization UBJSONSerialization.swift
/Users/admin/builder/spi-builder-workspace/Sources/UBJSONSerialization/UBJSONSerialization.swift:877:10: warning: type 'S.Element' is not optional, value can never be nil; this is an error in the Swift 6 language mode
875 | 				case _ as Nop: return nil
876 |
877 | 				case nil:                    newType = .null
    |          `- warning: type 'S.Element' is not optional, value can never be nil; this is an error in the Swift 6 language mode
878 | 				case let b as Bool where  b: newType = .`true`
879 | 				case let b as Bool where !b: newType = .`false`
/Users/admin/builder/spi-builder-workspace/Sources/UBJSONSerialization/UBJSONSerialization.swift:874:11: warning: will never be executed
872 | 		for v in values {
873 | 			let newType: UBJSONElementType
874 | 			switch v {
    |           |- warning: will never be executed
    |           `- note: condition always evaluates to false
875 | 				case _ as Nop: return nil
876 |
Build complete! (7.67s)
Fetching https://github.com/Frizlab/stream-reader.git
[1/1051] Fetching stream-reader
Fetched https://github.com/Frizlab/stream-reader.git from cache (0.87s)
Computing version for https://github.com/Frizlab/stream-reader.git
Computed https://github.com/Frizlab/stream-reader.git at 3.6.1 (1.30s)
Creating working copy for https://github.com/Frizlab/stream-reader.git
Working copy of https://github.com/Frizlab/stream-reader.git resolved at 3.6.1
Build complete.
{
  "dependencies" : [
    {
      "identity" : "stream-reader",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.0.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Frizlab/stream-reader.git"
    }
  ],
  "manifest_display_name" : "UBJSONSerialization",
  "name" : "UBJSONSerialization",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "UBJSONSerialization",
      "targets" : [
        "UBJSONSerialization"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "UBJSONSerializationTests",
      "module_type" : "SwiftTarget",
      "name" : "UBJSONSerializationTests",
      "path" : "Tests/UBJSONSerializationTests",
      "sources" : [
        "HighPrecisionNumberTests.swift",
        "TestHelpers.swift",
        "UBJSONSerializationTests.swift",
        "UBJSONSpec8SerializationTests.swift"
      ],
      "target_dependencies" : [
        "UBJSONSerialization"
      ],
      "type" : "test"
    },
    {
      "c99name" : "UBJSONSerialization",
      "module_type" : "SwiftTarget",
      "name" : "UBJSONSerialization",
      "path" : "Sources/UBJSONSerialization",
      "product_dependencies" : [
        "StreamReader"
      ],
      "product_memberships" : [
        "UBJSONSerialization"
      ],
      "sources" : [
        "HighPrecisionNumber.swift",
        "Nop.swift",
        "UBJSONSerialization.swift",
        "UBJSONSerializationErrors.swift",
        "UBJSONSpec8Serialization.swift",
        "Utils.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Done.