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 Linux on 19 Jun 2025 08:31:41 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/frizlab/ubjsonserialization.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/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:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/frizlab/ubjsonserialization.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/Frizlab/stream-reader.git
[1/1051] Fetching stream-reader
Fetched https://github.com/Frizlab/stream-reader.git from cache (0.26s)
Computing version for https://github.com/Frizlab/stream-reader.git
Computed https://github.com/Frizlab/stream-reader.git at 3.6.1 (0.61s)
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
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/12] Compiling StreamReader StreamReader.swift
[5/12] Compiling StreamReader StreamReaderErrors.swift
[6/13] Compiling StreamReader URLSessionStreamTaskReader.swift
[7/13] Compiling StreamReader FileDescriptorReader.swift
[8/13] Compiling StreamReader FileHandleReader.swift
[9/13] Compiling StreamReader InputStreamReader.swift
[10/13] Emitting module StreamReader
[11/13] Compiling StreamReader DataReader.swift
[12/13] Compiling StreamReader GenericStreamReader.swift
[13/13] Compiling StreamReader Matching.swift
[15/21] Compiling UBJSONSerialization UBJSONSerializationErrors.swift
[16/21] Compiling UBJSONSerialization Utils.swift
[17/21] Compiling UBJSONSerialization UBJSONSpec8Serialization.swift
[18/21] Compiling UBJSONSerialization HighPrecisionNumber.swift
[19/21] Compiling UBJSONSerialization UBJSONSerialization.swift
/host/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`
/host/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 |
[20/21] Compiling UBJSONSerialization Nop.swift
[21/21] Emitting module UBJSONSerialization
Build complete! (16.12s)
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" : "/host/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"
}
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.