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 ObjectCoder, reference 1.0.4 (db7d7b), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 19:27:43 UTC.

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.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.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nearfri/ObjectCoder.git
Reference: 1.0.4
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/nearfri/ObjectCoder
 * tag               1.0.4      -> FETCH_HEAD
HEAD is now at db7d7b9 Fix wrong indentations
Cloned https://github.com/nearfri/ObjectCoder.git
Revision (git rev-parse @):
db7d7b98b6784e5af158ff20edc9c331681fc10f
SUCCESS checkout https://github.com/nearfri/ObjectCoder.git at 1.0.4
Fetching https://github.com/mattgallagher/CwlPreconditionTesting
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/1257] Fetching cwlpreconditiontesting
[77/1712] Fetching cwlpreconditiontesting, cwlcatchexception
Fetched https://github.com/mattgallagher/CwlPreconditionTesting from cache (0.81s)
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.81s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting
Computed https://github.com/mattgallagher/CwlPreconditionTesting at 2.1.0 (1.46s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.1.1 (0.61s)
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting resolved at 2.1.0
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.1.1
========================================
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": "objectcoder",
      "name": "ObjectCoder",
      "url": "https://github.com/nearfri/ObjectCoder.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ObjectCoder",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/nearfri/ObjectCoder.git
[1/656] Fetching objectcoder
Fetched https://github.com/nearfri/ObjectCoder.git from cache (0.72s)
Creating working copy for https://github.com/nearfri/ObjectCoder.git
Working copy of https://github.com/nearfri/ObjectCoder.git resolved at 1.0.4 (db7d7b9)
warning: '.resolve-product-dependencies': dependency 'objectcoder' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/nearfri/ObjectCoder.git
https://github.com/nearfri/ObjectCoder.git
{
  "dependencies" : [
    {
      "identity" : "cwlpreconditiontesting",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/mattgallagher/CwlPreconditionTesting"
    }
  ],
  "manifest_display_name" : "ObjectCoder",
  "name" : "ObjectCoder",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "ObjectCoder",
      "targets" : [
        "ObjectCoder"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ObjectCoderTests",
      "module_type" : "SwiftTarget",
      "name" : "ObjectCoderTests",
      "path" : "Tests/ObjectCoderTests",
      "product_dependencies" : [
        "CwlPreconditionTesting"
      ],
      "sources" : [
        "ObjectCoderTests.swift"
      ],
      "target_dependencies" : [
        "ObjectCoder"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ObjectCoder",
      "module_type" : "SwiftTarget",
      "name" : "ObjectCoder",
      "path" : "Sources/ObjectCoder",
      "product_memberships" : [
        "ObjectCoder"
      ],
      "sources" : [
        "CodingStorage.swift",
        "Decoder/InitializableWithAny.swift",
        "Decoder/KeyedObjectDecodingContainer.swift",
        "Decoder/ObjectDecoder.swift",
        "Decoder/SingleValueObjectDecodingContainer.swift",
        "Decoder/UnkeyedObjectDecodingContainer.swift",
        "Encoder/KeyedObjectEncodingContainer.swift",
        "Encoder/ObjectContainer.swift",
        "Encoder/ObjectEncoder.swift",
        "Encoder/ReferencingEncoder.swift",
        "Encoder/SingleValueObjectEncodingContanier.swift",
        "Encoder/UnkeyedObjectEncodingContanier.swift",
        "Errors.swift",
        "NilCodingStrategy.swift",
        "ObjectCoder+Combine.swift",
        "ObjectKey.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/18] Compiling ObjectCoder ObjectEncoder.swift
[4/18] Compiling ObjectCoder ReferencingEncoder.swift
[5/19] Compiling ObjectCoder NilCodingStrategy.swift
/Users/admin/builder/spi-builder-workspace/Sources/ObjectCoder/NilCodingStrategy.swift:32:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'NilCodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public enum NilCodingStrategy {
   |             `- note: consider making enum 'NilCodingStrategy' conform to the 'Sendable' protocol
 4 |     case null           // NSNull
 5 |     case symbol(String) // symbol like "$null"
   :
30 |
31 | extension NilCodingStrategy {
32 |     public static let `default`: NilCodingStrategy = .symbol(NilCodingStrategy.defaultNilSymbol)
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'NilCodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 |     public static let defaultNilSymbol: String = "$null"
34 | }
[6/19] Compiling ObjectCoder ObjectCoder+Combine.swift
[7/19] Compiling ObjectCoder Errors.swift
[8/19] Compiling ObjectCoder ObjectKey.swift
[9/19] Compiling ObjectCoder SingleValueObjectEncodingContanier.swift
[10/19] Compiling ObjectCoder UnkeyedObjectEncodingContanier.swift
[11/19] Compiling ObjectCoder SingleValueObjectDecodingContainer.swift
[12/19] Compiling ObjectCoder UnkeyedObjectDecodingContainer.swift
[13/19] Compiling ObjectCoder KeyedObjectEncodingContainer.swift
[14/19] Compiling ObjectCoder ObjectContainer.swift
[15/19] Compiling ObjectCoder CodingStorage.swift
[16/19] Compiling ObjectCoder InitializableWithAny.swift
[17/19] Emitting module ObjectCoder
/Users/admin/builder/spi-builder-workspace/Sources/ObjectCoder/NilCodingStrategy.swift:32:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'NilCodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public enum NilCodingStrategy {
   |             `- note: consider making enum 'NilCodingStrategy' conform to the 'Sendable' protocol
 4 |     case null           // NSNull
 5 |     case symbol(String) // symbol like "$null"
   :
30 |
31 | extension NilCodingStrategy {
32 |     public static let `default`: NilCodingStrategy = .symbol(NilCodingStrategy.defaultNilSymbol)
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'NilCodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 |     public static let defaultNilSymbol: String = "$null"
34 | }
[18/19] Compiling ObjectCoder KeyedObjectDecodingContainer.swift
[19/19] Compiling ObjectCoder ObjectDecoder.swift
Build complete! (5.90s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "cwlpreconditiontesting",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/mattgallagher/CwlPreconditionTesting"
    }
  ],
  "manifest_display_name" : "ObjectCoder",
  "name" : "ObjectCoder",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "ObjectCoder",
      "targets" : [
        "ObjectCoder"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ObjectCoderTests",
      "module_type" : "SwiftTarget",
      "name" : "ObjectCoderTests",
      "path" : "Tests/ObjectCoderTests",
      "product_dependencies" : [
        "CwlPreconditionTesting"
      ],
      "sources" : [
        "ObjectCoderTests.swift"
      ],
      "target_dependencies" : [
        "ObjectCoder"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ObjectCoder",
      "module_type" : "SwiftTarget",
      "name" : "ObjectCoder",
      "path" : "Sources/ObjectCoder",
      "product_memberships" : [
        "ObjectCoder"
      ],
      "sources" : [
        "CodingStorage.swift",
        "Decoder/InitializableWithAny.swift",
        "Decoder/KeyedObjectDecodingContainer.swift",
        "Decoder/ObjectDecoder.swift",
        "Decoder/SingleValueObjectDecodingContainer.swift",
        "Decoder/UnkeyedObjectDecodingContainer.swift",
        "Encoder/KeyedObjectEncodingContainer.swift",
        "Encoder/ObjectContainer.swift",
        "Encoder/ObjectEncoder.swift",
        "Encoder/ReferencingEncoder.swift",
        "Encoder/SingleValueObjectEncodingContanier.swift",
        "Encoder/UnkeyedObjectEncodingContanier.swift",
        "Errors.swift",
        "NilCodingStrategy.swift",
        "ObjectCoder+Combine.swift",
        "ObjectKey.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Done.