The Swift Package Index logo.Swift Package Index

Build Information

Failed to build VDCodable, reference 2.14.0 (0d0166), with Swift 6.1 for Wasm on 29 May 2025 00:44:46 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dankinsoid/VDCodable.git
Reference: 2.14.0
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/dankinsoid/VDCodable
 * tag               2.14.0     -> FETCH_HEAD
HEAD is now at 0d01666 hm
Cloned https://github.com/dankinsoid/VDCodable.git
Revision (git rev-parse @):
0d016669f23c70ce09bb7bfde321927783ac2af7
SUCCESS checkout https://github.com/dankinsoid/VDCodable.git at 2.14.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/dankinsoid/VDCodable.git
https://github.com/dankinsoid/VDCodable.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "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" : "/host/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 ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/dankinsoid/SimpleCoders.git
[1/101] Fetching simplecoders
Fetched https://github.com/dankinsoid/SimpleCoders.git from cache (0.34s)
Computing version for https://github.com/dankinsoid/SimpleCoders.git
Computed https://github.com/dankinsoid/SimpleCoders.git at 1.6.0 (1.28s)
Creating working copy for https://github.com/dankinsoid/SimpleCoders.git
Working copy of https://github.com/dankinsoid/SimpleCoders.git resolved at 1.6.0
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/19] Emitting module SimpleCoders
[5/21] Compiling SimpleCoders CheckAllKeysDecoder.swift
[6/21] Compiling SimpleCoders Ref.swift
[7/21] Compiling SimpleCoders PlainCodingKey.swift
[8/21] Compiling SimpleCoders StringKey.swift
[9/21] Compiling SimpleCoders OrderedDictionary.swift
[10/21] Compiling SimpleCoders StringConvertibleHintProvider.swift
[11/21] Compiling SimpleCoders CodableTypes.swift
[12/21] Compiling SimpleCoders TypeRevision.swift
[13/21] Compiling SimpleCoders CodableProtocols.swift
[14/21] Compiling SimpleCoders DateCodingStrategies.swift
[15/21] Compiling SimpleCoders KeyCodingStrategies.swift
[16/21] Compiling SimpleCoders EncodingBoxer.swift
[17/21] Compiling SimpleCoders IntKey.swift
[18/21] Compiling SimpleCoders TypeRevisionDecoder.swift
[19/21] Compiling SimpleCoders TypeRevisionEncoder.swift
[20/21] Compiling SimpleCoders CodingStrategy.swift
[21/21] Compiling SimpleCoders DecodingUnboxer.swift
[23/39] Compiling VDCodable VDJSONEncoder.swift
[24/39] Compiling VDCodable NSCodable.swift
[25/41] Compiling VDCodable URLQueryEncoder.swift
[26/41] Compiling VDCodable Int++.swift
[27/41] Compiling VDCodable NSManagedCodable.swift
[28/41] Compiling VDCodable URLQueryDecoder.swift
[29/41] Compiling VDCodable StringUtils.swift
[30/41] Compiling VDCodable UnwrapOperator.swift
[31/41] Compiling VDCodable ProtobufJSONEncoder.swift
/host/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: add '@MainActor' to make let '_iso8601Formatter' part of global actor 'MainActor'
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
320 | 	let formatter = ISO8601DateFormatter()
321 | 	formatter.formatOptions = .withInternetDateTime
Foundation.ISO8601DateFormatter:1:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
 1 | open class ISO8601DateFormatter : Formatter, NSSecureCoding {
   |            `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
 2 |     open var timeZone: TimeZone! { get set }
 3 |     open var formatOptions: ISO8601DateFormatter.Options { get set }
[32/41] Compiling VDCodable VDJSONDecoder.swift
/host/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: add '@MainActor' to make let '_iso8601Formatter' part of global actor 'MainActor'
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
320 | 	let formatter = ISO8601DateFormatter()
321 | 	formatter.formatOptions = .withInternetDateTime
Foundation.ISO8601DateFormatter:1:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
 1 | open class ISO8601DateFormatter : Formatter, NSSecureCoding {
   |            `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
 2 |     open var timeZone: TimeZone! { get set }
 3 |     open var formatOptions: ISO8601DateFormatter.Options { get set }
[33/41] Emitting module VDCodable
/host/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: add '@MainActor' to make let '_iso8601Formatter' part of global actor 'MainActor'
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
320 | 	let formatter = ISO8601DateFormatter()
321 | 	formatter.formatOptions = .withInternetDateTime
Foundation.ISO8601DateFormatter:1:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
 1 | open class ISO8601DateFormatter : Formatter, NSSecureCoding {
   |            `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
 2 |     open var timeZone: TimeZone! { get set }
 3 |     open var formatOptions: ISO8601DateFormatter.Options { get set }
[34/41] Compiling VDCodable DictionaryDecoder.swift
[35/41] Compiling VDCodable DictionaryEncoder.swift
[36/41] Compiling VDCodable DataDecodingStrategy.swift
[37/41] Compiling VDCodable JSONDecodingError.swift
[38/41] Compiling VDCodable JSONScanner.swift
[39/41] Compiling VDCodable DoubleFormatter.swift
/host/spi-builder-workspace/Sources/VDCodable/JSON/DoubleFormatter.swift:31:44: error: cannot convert value of type 'CVaListPointer' to expected argument type '__isoc_va_list' (aka 'UnsafeMutableRawPointer')
 29 |     let fmt = format.baseAddress!.assumingMemoryBound(to: Int8.self)
 30 |     return withVaList(arguments) {
 31 |         let printed = vsnprintf(p, n, fmt, $0)
    |                                            `- error: cannot convert value of type 'CVaListPointer' to expected argument type '__isoc_va_list' (aka 'UnsafeMutableRawPointer')
 32 |         return Int(printed)
 33 |     }
[40/41] Compiling VDCodable EncodingOptions.swift
/host/spi-builder-workspace/Sources/VDCodable/JSON/DoubleFormatter.swift:31:44: error: cannot convert value of type 'CVaListPointer' to expected argument type '__isoc_va_list' (aka 'UnsafeMutableRawPointer')
 29 |     let fmt = format.baseAddress!.assumingMemoryBound(to: Int8.self)
 30 |     return withVaList(arguments) {
 31 |         let printed = vsnprintf(p, n, fmt, $0)
    |                                            `- error: cannot convert value of type 'CVaListPointer' to expected argument type '__isoc_va_list' (aka 'UnsafeMutableRawPointer')
 32 |         return Int(printed)
 33 |     }
[41/41] Compiling VDCodable JSON.swift
/host/spi-builder-workspace/Sources/VDCodable/JSON/DoubleFormatter.swift:31:44: error: cannot convert value of type 'CVaListPointer' to expected argument type '__isoc_va_list' (aka 'UnsafeMutableRawPointer')
 29 |     let fmt = format.baseAddress!.assumingMemoryBound(to: Int8.self)
 30 |     return withVaList(arguments) {
 31 |         let printed = vsnprintf(p, n, fmt, $0)
    |                                            `- error: cannot convert value of type 'CVaListPointer' to expected argument type '__isoc_va_list' (aka 'UnsafeMutableRawPointer')
 32 |         return Int(printed)
 33 |     }
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/17] Compiling SimpleCoders PlainCodingKey.swift
[3/17] Compiling SimpleCoders StringKey.swift
[4/19] Emitting module SimpleCoders
[5/19] Compiling SimpleCoders CheckAllKeysDecoder.swift
[6/19] Compiling SimpleCoders Ref.swift
[7/19] Compiling SimpleCoders CodableTypes.swift
[8/19] Compiling SimpleCoders TypeRevision.swift
[9/19] Compiling SimpleCoders OrderedDictionary.swift
[10/19] Compiling SimpleCoders StringConvertibleHintProvider.swift
[11/19] Compiling SimpleCoders TypeRevisionDecoder.swift
[12/19] Compiling SimpleCoders TypeRevisionEncoder.swift
[13/19] Compiling SimpleCoders EncodingBoxer.swift
[14/19] Compiling SimpleCoders IntKey.swift
[15/19] Compiling SimpleCoders CodableProtocols.swift
[16/19] Compiling SimpleCoders DateCodingStrategies.swift
[17/19] Compiling SimpleCoders KeyCodingStrategies.swift
[18/19] Compiling SimpleCoders CodingStrategy.swift
[19/19] Compiling SimpleCoders DecodingUnboxer.swift
[21/37] Compiling VDCodable NSManagedCodable.swift
[22/37] Compiling VDCodable URLQueryDecoder.swift
[23/39] Compiling VDCodable StringUtils.swift
[24/39] Compiling VDCodable UnwrapOperator.swift
[25/39] Emitting module VDCodable
[26/39] Compiling VDCodable DoubleFormatter.swift
/host/spi-builder-workspace/Sources/VDCodable/JSON/DoubleFormatter.swift:31:44: error: cannot convert value of type 'CVaListPointer' to expected argument type '__isoc_va_list' (aka 'UnsafeMutableRawPointer')
 29 |     let fmt = format.baseAddress!.assumingMemoryBound(to: Int8.self)
 30 |     return withVaList(arguments) {
 31 |         let printed = vsnprintf(p, n, fmt, $0)
    |                                            `- error: cannot convert value of type 'CVaListPointer' to expected argument type '__isoc_va_list' (aka 'UnsafeMutableRawPointer')
 32 |         return Int(printed)
 33 |     }
[27/39] Compiling VDCodable EncodingOptions.swift
/host/spi-builder-workspace/Sources/VDCodable/JSON/DoubleFormatter.swift:31:44: error: cannot convert value of type 'CVaListPointer' to expected argument type '__isoc_va_list' (aka 'UnsafeMutableRawPointer')
 29 |     let fmt = format.baseAddress!.assumingMemoryBound(to: Int8.self)
 30 |     return withVaList(arguments) {
 31 |         let printed = vsnprintf(p, n, fmt, $0)
    |                                            `- error: cannot convert value of type 'CVaListPointer' to expected argument type '__isoc_va_list' (aka 'UnsafeMutableRawPointer')
 32 |         return Int(printed)
 33 |     }
[28/39] Compiling VDCodable JSON.swift
/host/spi-builder-workspace/Sources/VDCodable/JSON/DoubleFormatter.swift:31:44: error: cannot convert value of type 'CVaListPointer' to expected argument type '__isoc_va_list' (aka 'UnsafeMutableRawPointer')
 29 |     let fmt = format.baseAddress!.assumingMemoryBound(to: Int8.self)
 30 |     return withVaList(arguments) {
 31 |         let printed = vsnprintf(p, n, fmt, $0)
    |                                            `- error: cannot convert value of type 'CVaListPointer' to expected argument type '__isoc_va_list' (aka 'UnsafeMutableRawPointer')
 32 |         return Int(printed)
 33 |     }
[29/39] Compiling VDCodable ProtobufJSONEncoder.swift
[30/39] Compiling VDCodable VDJSONDecoder.swift
[31/39] Compiling VDCodable VDJSONEncoder.swift
[32/39] Compiling VDCodable NSCodable.swift
[33/39] Compiling VDCodable DictionaryDecoder.swift
[34/39] Compiling VDCodable DictionaryEncoder.swift
[35/39] Compiling VDCodable DataDecodingStrategy.swift
[36/39] Compiling VDCodable URLQueryEncoder.swift
[37/39] Compiling VDCodable Int++.swift
[38/39] Compiling VDCodable JSONDecodingError.swift
[39/39] Compiling VDCodable JSONScanner.swift
BUILD FAILURE 6.1 wasm