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 VDCodable, reference master (b5f8ba), with Swift 6.0 for macOS (SPM) on 1 Feb 2025 08:40:05 UTC.

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.2.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.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dankinsoid/VDCodable.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/dankinsoid/VDCodable
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at b5f8ba2 (no commit message provided)
Cloned https://github.com/dankinsoid/VDCodable.git
Revision (git rev-parse @):
b5f8ba27807a8c1dbfc5394a659c17029e99269b
SUCCESS checkout https://github.com/dankinsoid/VDCodable.git at master
Fetching https://github.com/dankinsoid/SimpleCoders.git
[1/101] Fetching simplecoders
Fetched https://github.com/dankinsoid/SimpleCoders.git from cache (0.66s)
Computing version for https://github.com/dankinsoid/SimpleCoders.git
Computed https://github.com/dankinsoid/SimpleCoders.git at 1.6.0 (0.57s)
Creating working copy for https://github.com/dankinsoid/SimpleCoders.git
Working copy of https://github.com/dankinsoid/SimpleCoders.git resolved at 1.6.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": "vdcodable",
      "name": "VDCodable",
      "url": "https://github.com/dankinsoid/VDCodable.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/VDCodable",
      "dependencies": [
        {
          "identity": "simplecoders",
          "name": "SimpleCoders",
          "url": "https://github.com/dankinsoid/SimpleCoders.git",
          "version": "1.6.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SimpleCoders",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/dankinsoid/VDCodable.git
[1/644] Fetching vdcodable
Fetched https://github.com/dankinsoid/VDCodable.git from cache (0.96s)
Fetching https://github.com/dankinsoid/SimpleCoders.git from cache
Fetched https://github.com/dankinsoid/SimpleCoders.git from cache (0.45s)
Computing version for https://github.com/dankinsoid/SimpleCoders.git
Computed https://github.com/dankinsoid/SimpleCoders.git at 1.6.0 (0.02s)
Creating working copy for https://github.com/dankinsoid/VDCodable.git
Working copy of https://github.com/dankinsoid/VDCodable.git resolved at master (b5f8ba2)
Creating working copy for https://github.com/dankinsoid/SimpleCoders.git
Working copy of https://github.com/dankinsoid/SimpleCoders.git resolved at 1.6.0
warning: '.resolve-product-dependencies': dependency 'vdcodable' is not used by any target
Found 1 product dependencies
  - SimpleCoders
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/dankinsoid/VDCodable.git
https://github.com/dankinsoid/VDCodable.git
{
  "dependencies" : [
    {
      "identity" : "simplecoders",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.6.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/dankinsoid/SimpleCoders.git"
    }
  ],
  "manifest_display_name" : "VDCodable",
  "name" : "VDCodable",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "VDCodable",
      "targets" : [
        "VDCodable"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "VDCodableTests",
      "module_type" : "SwiftTarget",
      "name" : "VDCodableTests",
      "path" : "Tests/VDCodableTests",
      "sources" : [
        "VDCodableTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "VDCodable"
      ],
      "type" : "test"
    },
    {
      "c99name" : "VDCodable",
      "module_type" : "SwiftTarget",
      "name" : "VDCodable",
      "path" : "Sources/VDCodable",
      "product_dependencies" : [
        "SimpleCoders"
      ],
      "product_memberships" : [
        "VDCodable"
      ],
      "sources" : [
        "Dictionary/DictionaryDecoder.swift",
        "Dictionary/DictionaryEncoder.swift",
        "JSON/DataDecodingStrategy.swift",
        "JSON/DoubleFormatter.swift",
        "JSON/EncodingOptions.swift",
        "JSON/JSON.swift",
        "JSON/JSONDecodingError.swift",
        "JSON/JSONScanner.swift",
        "JSON/ProtobufJSONEncoder.swift",
        "JSON/VDJSONDecoder.swift",
        "JSON/VDJSONEncoder.swift",
        "NSCodable/NSCodable.swift",
        "NSCodable/NSManagedCodable.swift",
        "URLQuery/URLQueryDecoder.swift",
        "URLQuery/URLQueryEncoder.swift",
        "Utils/Int++.swift",
        "Utils/StringUtils.swift",
        "Utils/UnwrapOperator.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.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/3] Write sources
[2/3] Write swift-version-5BDAB9E9C0126B9D.txt
[4/20] Compiling SimpleCoders TypeRevision.swift
[5/20] Compiling SimpleCoders TypeRevisionDecoder.swift
[6/20] Compiling SimpleCoders CheckAllKeysDecoder.swift
[7/20] Compiling SimpleCoders StringConvertibleHintProvider.swift
[8/20] Compiling SimpleCoders PlainCodingKey.swift
[9/20] Compiling SimpleCoders TypeRevisionEncoder.swift
[10/20] Compiling SimpleCoders StringKey.swift
[11/20] Compiling SimpleCoders CodableTypes.swift
[12/21] Compiling SimpleCoders IntKey.swift
[13/21] Compiling SimpleCoders OrderedDictionary.swift
[14/21] Compiling SimpleCoders KeyCodingStrategies.swift
[15/21] Compiling SimpleCoders CodingStrategy.swift
[16/21] Emitting module SimpleCoders
[17/21] Compiling SimpleCoders DecodingUnboxer.swift
[18/21] Compiling SimpleCoders EncodingBoxer.swift
[19/21] Compiling SimpleCoders CodableProtocols.swift
[20/21] Compiling SimpleCoders DateCodingStrategies.swift
[21/21] Compiling SimpleCoders Ref.swift
[22/39] Compiling VDCodable URLQueryEncoder.swift
[23/39] Compiling VDCodable Int++.swift
[24/39] Compiling VDCodable NSManagedCodable.swift
[25/39] Compiling VDCodable URLQueryDecoder.swift
[26/39] Compiling VDCodable StringUtils.swift
[27/39] Compiling VDCodable VDJSONEncoder.swift
[28/39] Compiling VDCodable NSCodable.swift
[29/39] Compiling VDCodable JSONDecodingError.swift
[30/39] Compiling VDCodable JSONScanner.swift
[31/40] Compiling VDCodable EncodingOptions.swift
[32/40] Compiling VDCodable JSON.swift
[33/40] Compiling VDCodable DataDecodingStrategy.swift
[34/40] Compiling VDCodable DoubleFormatter.swift
[35/40] Emitting module VDCodable
/Users/admin/builder/spi-builder-workspace/Sources/VDCodable/JSON/VDJSONDecoder.swift:319:14: warning: let '_iso8601Formatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
317 | fileprivate let _dateFormatter = DateFormatter()
318 | @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
319 | internal let _iso8601Formatter: ISO8601DateFormatter = {
    |              |- warning: let '_iso8601Formatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate '_iso8601Formatter' with '@MainActor' if property should only be accessed from the main actor
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
320 | 	let formatter = ISO8601DateFormatter()
321 | 	formatter.formatOptions = .withInternetDateTime
Foundation.ISO8601DateFormatter:2:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
 1 | @available(macOS 10.12, *)
 2 | open class ISO8601DateFormatter : Formatter, NSSecureCoding {
   |            `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
 3 |     open var timeZone: TimeZone! { get set }
 4 |     open var formatOptions: ISO8601DateFormatter.Options { get set }
[36/40] Compiling VDCodable ProtobufJSONEncoder.swift
/Users/admin/builder/spi-builder-workspace/Sources/VDCodable/JSON/VDJSONDecoder.swift:319:14: warning: let '_iso8601Formatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
317 | fileprivate let _dateFormatter = DateFormatter()
318 | @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
319 | internal let _iso8601Formatter: ISO8601DateFormatter = {
    |              |- warning: let '_iso8601Formatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate '_iso8601Formatter' with '@MainActor' if property should only be accessed from the main actor
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
320 | 	let formatter = ISO8601DateFormatter()
321 | 	formatter.formatOptions = .withInternetDateTime
Foundation.ISO8601DateFormatter:2:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
 1 | @available(macOS 10.12, *)
 2 | open class ISO8601DateFormatter : Formatter, NSSecureCoding {
   |            `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
 3 |     open var timeZone: TimeZone! { get set }
 4 |     open var formatOptions: ISO8601DateFormatter.Options { get set }
[37/40] Compiling VDCodable VDJSONDecoder.swift
/Users/admin/builder/spi-builder-workspace/Sources/VDCodable/JSON/VDJSONDecoder.swift:319:14: warning: let '_iso8601Formatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
317 | fileprivate let _dateFormatter = DateFormatter()
318 | @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
319 | internal let _iso8601Formatter: ISO8601DateFormatter = {
    |              |- warning: let '_iso8601Formatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate '_iso8601Formatter' with '@MainActor' if property should only be accessed from the main actor
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
320 | 	let formatter = ISO8601DateFormatter()
321 | 	formatter.formatOptions = .withInternetDateTime
Foundation.ISO8601DateFormatter:2:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
 1 | @available(macOS 10.12, *)
 2 | open class ISO8601DateFormatter : Formatter, NSSecureCoding {
   |            `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
 3 |     open var timeZone: TimeZone! { get set }
 4 |     open var formatOptions: ISO8601DateFormatter.Options { get set }
[38/40] Compiling VDCodable DictionaryDecoder.swift
[39/40] Compiling VDCodable DictionaryEncoder.swift
[40/40] Compiling VDCodable UnwrapOperator.swift
Build complete! (15.35s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "simplecoders",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.6.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/dankinsoid/SimpleCoders.git"
    }
  ],
  "manifest_display_name" : "VDCodable",
  "name" : "VDCodable",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "VDCodable",
      "targets" : [
        "VDCodable"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "VDCodableTests",
      "module_type" : "SwiftTarget",
      "name" : "VDCodableTests",
      "path" : "Tests/VDCodableTests",
      "sources" : [
        "VDCodableTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "VDCodable"
      ],
      "type" : "test"
    },
    {
      "c99name" : "VDCodable",
      "module_type" : "SwiftTarget",
      "name" : "VDCodable",
      "path" : "Sources/VDCodable",
      "product_dependencies" : [
        "SimpleCoders"
      ],
      "product_memberships" : [
        "VDCodable"
      ],
      "sources" : [
        "Dictionary/DictionaryDecoder.swift",
        "Dictionary/DictionaryEncoder.swift",
        "JSON/DataDecodingStrategy.swift",
        "JSON/DoubleFormatter.swift",
        "JSON/EncodingOptions.swift",
        "JSON/JSON.swift",
        "JSON/JSONDecodingError.swift",
        "JSON/JSONScanner.swift",
        "JSON/ProtobufJSONEncoder.swift",
        "JSON/VDJSONDecoder.swift",
        "JSON/VDJSONEncoder.swift",
        "NSCodable/NSCodable.swift",
        "NSCodable/NSManagedCodable.swift",
        "URLQuery/URLQueryDecoder.swift",
        "URLQuery/URLQueryEncoder.swift",
        "Utils/Int++.swift",
        "Utils/StringUtils.swift",
        "Utils/UnwrapOperator.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Done.