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 JSONDecoder, reference 0.1.5 (d829be), with Swift 6.2 (beta) for Wasm on 17 Jun 2025 13:18:34 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:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/asoderman/JSONDecoder.git
Reference: 0.1.5
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/asoderman/JSONDecoder
 * tag               0.1.5      -> FETCH_HEAD
HEAD is now at d829be3 Update for 0.1.5
Cloned https://github.com/asoderman/JSONDecoder.git
Revision (git rev-parse @):
d829be306118e03151cf9340b3e34f7b9ecf45f3
SUCCESS checkout https://github.com/asoderman/JSONDecoder.git at 0.1.5
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/asoderman/JSONDecoder.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/6] Compiling JSONDecoder JSONToken.swift
[4/6] Emitting module JSONDecoder
/host/spi-builder-workspace/Sources/JSONDecoder/JSONParser.swift:413:30: warning: enum element with associated values must have at least one associated value; this will be an error in the future version of Swift
411 | enum ParsingError: Error {
412 |
413 |     case ExpectedClosingBrace()
    |                              |- warning: enum element with associated values must have at least one associated value; this will be an error in the future version of Swift
    |                              |- note: did you mean to remove the empty associated value list?
    |                              `- note: did you mean to explicitly add a 'Void' associated value?
414 |     case UnknownToken(token: JSONToken)
415 |     case ExpectedQuote(token: JSONToken)
[5/6] Compiling JSONDecoder JSONParser.swift
/host/spi-builder-workspace/Sources/JSONDecoder/JSONParser.swift:413:30: warning: enum element with associated values must have at least one associated value; this will be an error in the future version of Swift
411 | enum ParsingError: Error {
412 |
413 |     case ExpectedClosingBrace()
    |                              |- warning: enum element with associated values must have at least one associated value; this will be an error in the future version of Swift
    |                              |- note: did you mean to remove the empty associated value list?
    |                              `- note: did you mean to explicitly add a 'Void' associated value?
414 |     case UnknownToken(token: JSONToken)
415 |     case ExpectedQuote(token: JSONToken)
/host/spi-builder-workspace/Sources/JSONDecoder/JSONParser.swift:283:47: warning: string interpolation produces a debug description for a function value; did you mean to make this explicit?
281 |     open var description: String {
282 |         get {
283 |             return "JSONParser: parseTree = \(parseTree)"
    |                                               |- warning: string interpolation produces a debug description for a function value; did you mean to make this explicit?
    |                                               `- note: use 'String(describing:)' to silence this warning
284 |         }
285 |     }
/host/spi-builder-workspace/Sources/JSONDecoder/JSONParser.swift:250:24: warning: function call causes an infinite recursion
248 |
249 |         set (input) {
250 |             self.value = input
    |                        `- warning: function call causes an infinite recursion
251 |         }
252 |     }
/host/spi-builder-workspace/Sources/JSONDecoder/JSONParser.swift:158:24: warning: function call causes an infinite recursion
156 |
157 |         set (input) {
158 |             self.value = s_value
    |                        `- warning: function call causes an infinite recursion
159 |         }
160 |     }
/host/spi-builder-workspace/Sources/JSONDecoder/JSONParser.swift:180:24: warning: function call causes an infinite recursion
178 |         }
179 |         set (input) {
180 |             self.value = input
    |                        `- warning: function call causes an infinite recursion
181 |         }
182 |     }
/host/spi-builder-workspace/Sources/JSONDecoder/JSONParser.swift:93:24: warning: function call causes an infinite recursion
 91 |
 92 |         set (input) {
 93 |             self.value = input
    |                        `- warning: function call causes an infinite recursion
 94 |         }
 95 |     }
[6/6] Compiling JSONDecoder JSONScanner.swift
Build complete! (5.10s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "JSONDecoder",
  "name" : "JSONDecoder",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "JSONDecoder",
      "targets" : [
        "JSONDecoder"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "JSONDecoderTests",
      "module_type" : "SwiftTarget",
      "name" : "JSONDecoderTests",
      "path" : "Tests/JSONDecoderTests",
      "sources" : [
        "JSONDecoderTests.swift"
      ],
      "target_dependencies" : [
        "JSONDecoder"
      ],
      "type" : "test"
    },
    {
      "c99name" : "JSONDecoder",
      "module_type" : "SwiftTarget",
      "name" : "JSONDecoder",
      "path" : "Sources/JSONDecoder",
      "product_memberships" : [
        "JSONDecoder"
      ],
      "sources" : [
        "JSONParser.swift",
        "JSONScanner.swift",
        "JSONToken.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Done.