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 JSONtoCodable, reference 2.1.1 (19ae54), with Swift 6.2 (beta) for Linux on 18 Jun 2025 06:24:17 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/YutoMizutani/JSONtoCodable.git
Reference: 2.1.1
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/YutoMizutani/JSONtoCodable
 * tag               2.1.1      -> FETCH_HEAD
HEAD is now at 19ae54a Merge pull request #110 from YutoMizutani/develop
Cloned https://github.com/YutoMizutani/JSONtoCodable.git
Revision (git rev-parse @):
19ae54abb7f29e1594f75ff55c516c4c462a0657
SUCCESS checkout https://github.com/YutoMizutani/JSONtoCodable.git at 2.1.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/YutoMizutani/JSONtoCodable.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/12] Compiling JSONtoCodable IndentType.swift
[4/13] Compiling JSONtoCodable Config.swift
/host/spi-builder-workspace/Sources/Core/JSONtoCodable.swift:528:90: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value [#DeprecatedDeclaration]
526 |         let property = properties[0]
527 |         property.immutables = properties.map { $0.immutables }.mergeWithOptional()
528 |         guard let structs: [String] = (NSOrderedSet(array: properties.map { $0.structs }.flatMap { $0 }).array as? [String]) else { return nil }
    |                                                                                          |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value [#DeprecatedDeclaration]
    |                                                                                          `- note: use 'compactMap(_:)' instead
529 |         property.structs = structs
530 |         property.codingKeys = properties.map { $0.codingKeys }.merge()
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[5/13] Compiling JSONtoCodable JSONtoCodable.swift
/host/spi-builder-workspace/Sources/Core/JSONtoCodable.swift:528:90: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value [#DeprecatedDeclaration]
526 |         let property = properties[0]
527 |         property.immutables = properties.map { $0.immutables }.mergeWithOptional()
528 |         guard let structs: [String] = (NSOrderedSet(array: properties.map { $0.structs }.flatMap { $0 }).array as? [String]) else { return nil }
    |                                                                                          |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value [#DeprecatedDeclaration]
    |                                                                                          `- note: use 'compactMap(_:)' instead
529 |         property.structs = structs
530 |         property.codingKeys = properties.map { $0.codingKeys }.merge()
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[6/13] Compiling JSONtoCodable Property.swift
[7/13] Compiling JSONtoCodable AccessModifier.swift
[8/13] Compiling JSONtoCodable CaseType.swift
[9/13] Emitting module JSONtoCodable
[10/13] Compiling JSONtoCodable Type.swift
[11/13] Compiling JSONtoCodable LineType.swift
[12/13] Compiling JSONtoCodable ErrorHandring.swift
[13/13] Compiling JSONtoCodable String+.swift
Build complete! (14.72s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "JSONtoCodable",
  "name" : "JSONtoCodable",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "JSONtoCodable",
      "targets" : [
        "JSONtoCodable"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "JSONtoCodableTests",
      "module_type" : "SwiftTarget",
      "name" : "JSONtoCodableTests",
      "path" : "Tests",
      "sources" : [
        "JSONtoCodableTests/ArrayTests.swift",
        "JSONtoCodableTests/CaseTests.swift",
        "JSONtoCodableTests/EscapeSequenceTests.swift",
        "JSONtoCodableTests/IndentTests.swift",
        "JSONtoCodableTests/JSONtoCodableTests.swift",
        "JSONtoCodableTests/LessParamsTests.swift",
        "JSONtoCodableTests/LineTests.swift",
        "JSONtoCodableTests/MergePropertiesTests.swift",
        "JSONtoCodableTests/MergeStructTests.swift",
        "JSONtoCodableTests/MergeWithOptionalTests.swift",
        "JSONtoCodableTests/NestingTests.swift",
        "JSONtoCodableTests/NoCodingkeysTests.swift",
        "JSONtoCodableTests/ReservedWordsTests.swift",
        "JSONtoCodableTests/SymbolsTests.swift",
        "JSONtoCodableTests/TypeTests.swift"
      ],
      "target_dependencies" : [
        "JSONtoCodable"
      ],
      "type" : "test"
    },
    {
      "c99name" : "JSONtoCodable",
      "module_type" : "SwiftTarget",
      "name" : "JSONtoCodable",
      "path" : "Sources",
      "product_memberships" : [
        "JSONtoCodable"
      ],
      "sources" : [
        "Core/Config.swift",
        "Core/JSONtoCodable.swift",
        "Core/Property.swift",
        "Enum/AccessModifier.swift",
        "Enum/CaseType.swift",
        "Enum/IndentType.swift",
        "Enum/LineType.swift",
        "Enum/Type.swift",
        "Error/ErrorHandring.swift",
        "Extensions/String+.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
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.