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 main (9c1a27), with Swift 6.2 (beta) for macOS (SPM) on 19 Jun 2025 08:37:48 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: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/frizlab/ubjsonserialization
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 9c1a270 Fix trivial warnings
Cloned https://github.com/frizlab/ubjsonserialization.git
Revision (git rev-parse @):
9c1a27000da268931345b131d4105ca1ff9153b5
SUCCESS checkout https://github.com/frizlab/ubjsonserialization.git at main
========================================
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 StreamReader.swift
[6/13] Compiling StreamReader FileHandleReader.swift
[7/13] Compiling StreamReader DataReader.swift
[8/13] Compiling StreamReader FileDescriptorReader.swift
[9/13] Compiling StreamReader URLSessionStreamTaskReader.swift
[10/13] Emitting module StreamReader
[11/13] Compiling StreamReader GenericStreamReader.swift
[12/13] Compiling StreamReader StreamReaderErrors.swift
[13/13] Compiling StreamReader InputStreamReader.swift
[14/20] Compiling UBJSONSerialization Utils.swift
[15/20] Compiling UBJSONSerialization UBJSONSpec8Serialization.swift
[16/20] Compiling UBJSONSerialization UBJSONSerializationErrors.swift
[17/20] Compiling UBJSONSerialization Nop.swift
[18/20] Compiling UBJSONSerialization UBJSONSerialization.swift
/Users/admin/builder/spi-builder-workspace/Sources/UBJSONSerialization/UBJSONSerialization.swift:881:10: warning: type 'S.Element' is not optional, value can never be nil; this is an error in the Swift 6 language mode
879 | 				case _ as Nop: return nil
880 |
881 | 				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
882 | 				case let b as Bool where  b: newType = .`true`
883 | 				case let b as Bool where !b: newType = .`false`
/Users/admin/builder/spi-builder-workspace/Sources/UBJSONSerialization/UBJSONSerialization.swift:878:11: warning: will never be executed
876 | 		for v in values {
877 | 			let newType: UBJSONElementType
878 | 			switch v {
    |           |- warning: will never be executed
    |           `- note: condition always evaluates to false
879 | 				case _ as Nop: return nil
880 |
[19/20] Compiling UBJSONSerialization HighPrecisionNumber.swift
[20/20] Emitting module UBJSONSerialization
Build complete! (7.63s)
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.31s)
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.